File tree Expand file tree Collapse file tree 3 files changed +1544
-2012
lines changed
Expand file tree Collapse file tree 3 files changed +1544
-2012
lines changed Original file line number Diff line number Diff line change 1- #! /usr/bin/env sh
2- . " $( dirname -- " $0 " ) /_/husky.sh"
3-
41npx --no -- commitlint --edit $1
Original file line number Diff line number Diff line change @@ -11,12 +11,7 @@ export type IconWeight =
1111
1212export type PaintFunction = ( color : string ) => React . ReactNode | null ;
1313
14- interface SVGRProps {
15- title ?: string ;
16- titleId ?: string ;
17- }
18-
19- export type IconProps = {
14+ export interface IconProps {
2015 color ?: string ;
2116 size ?: string | number ;
2217 weight ?: IconWeight ;
@@ -25,7 +20,9 @@ export type IconProps = {
2520 testID ?: string ;
2621 duotoneColor ?: string ;
2722 duotoneOpacity ?: number ;
28- } & SVGRProps ;
23+ title ?: string ; // SVGRProps
24+ titleId ?: string ; // SVGRProps
25+ } ;
2926
3027export type Icon = React . FC < IconProps > ;
3128
You can’t perform that action at this time.
0 commit comments