Skip to content

Commit 02999cb

Browse files
committed
feat: clean up unused PaintFunction type
1 parent f403e2c commit 02999cb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/lib/icon-base.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function IconBase({
3030
weight: contextWeight = 'regular',
3131
mirrored: contextMirrored = false,
3232
style: contextStyle,
33-
duotoneColor: contextDuotoneColor = '#000',
33+
duotoneColor: contextDuotoneColor,
3434
duotoneOpacity: contextDuotoneOpacity = 0.2,
3535
} = useContext(IconContext);
3636

src/lib/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ export type IconWeight =
99
| 'fill'
1010
| 'duotone';
1111

12-
export type PaintFunction = (color: string) => React.ReactNode | null;
13-
1412
export interface IconProps {
1513
color?: string;
1614
size?: string | number;

0 commit comments

Comments
 (0)