Add onClick to IconBaseProps, add ts-ignore to ProviderForm icon instance passing width prop

This commit is contained in:
Brandon Scott committed 2023-02-15 21:19:25 -05:00
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