mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 10:55:06 +03:00
Add onClick to IconBaseProps, add ts-ignore to ProviderForm icon instance passing width prop
This commit is contained in:
1 parent
a4f9f77ae3
commit
910c080d5c
2 files changed
+2
No files matched your search
@@ -15,6 +15,7 @@ export interface IconBaseProps {
|
||||
background?: 'brand' | 'gray' | 'red' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink'
|
||||
src?: React.ReactNode
|
||||
icon?: any
|
||||
onClick?: (event: React.MouseEvent) => void
|
||||
}
|
||||
|
||||
interface StringMap {
|
||||
|
||||
@@ -75,6 +75,7 @@ const ProviderForm: FC<Props> = ({ provider }) => {
|
||||
<IconChevronUp
|
||||
className="text-scale-800 transition data-open-parent:rotate-0 data-closed-parent:rotate-180"
|
||||
strokeWidth={2}
|
||||
/* @ts-ignore Unsure of what the intention was here */
|
||||
width={14}
|
||||
/>
|
||||
<img
|
||||
|
||||
Reference in new issue
Block a user