Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: add additional missing props to IconBaseProps, add ts-ignores where intent is unclear

Brandon Scott6e953eee58f5
diff --git a/packages/ui/src/components/Icon/IconBase.tsx b/packages/ui/src/components/Icon/IconBase.tsx
index 371a1a2e34a..1329e2cd81f 100644
--- a/packages/ui/src/components/Icon/IconBase.tsx
+++ b/packages/ui/src/components/Icon/IconBase.tsx
@@ -16,6 +16,9 @@ export interface IconBaseProps {
src?: React.ReactNode
icon?: any
onClick?: (event: React.MouseEvent) => void
+ style?: React.CSSProperties
+ width?: number
+ height?: number
}
interface StringMap {
diff --git a/studio/components/interfaces/Billing/Invoices.tsx b/studio/components/interfaces/Billing/Invoices.tsx
index 6cde250cd9c..9819f119bea 100644
--- a/studio/components/interfaces/Billing/Invoices.tsx
+++ b/studio/components/interfaces/Billing/Invoices.tsx
@@ -102,6 +102,7 @@ const Invoices: FC<Props> = ({ projectRef }) => {
return (
<Table.tr key={x.id}>
<Table.td>
+ {/* @ts-ignore Not sure if this is meant to be xxlarge or not */}
<IconFileText size="xxl" />
</Table.td>
<Table.td>
diff --git a/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx b/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
index a7b6931b604..ada2ce9cddd 100644
--- a/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
+++ b/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
@@ -113,6 +113,7 @@ const InvoicesSettings = () => {
return (
<Table.tr key={x.id}>
<Table.td>
+ {/* @ts-ignore Not sure if this is meant to be xxlarge or not */}
<IconFileText size="xxl" />
</Table.td>
<Table.td>