We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f403e2c commit 02999cbCopy full SHA for 02999cb
src/lib/icon-base.tsx
@@ -30,7 +30,7 @@ function IconBase({
30
weight: contextWeight = 'regular',
31
mirrored: contextMirrored = false,
32
style: contextStyle,
33
- duotoneColor: contextDuotoneColor = '#000',
+ duotoneColor: contextDuotoneColor,
34
duotoneOpacity: contextDuotoneOpacity = 0.2,
35
} = useContext(IconContext);
36
src/lib/index.tsx
@@ -9,8 +9,6 @@ export type IconWeight =
9
| 'fill'
10
| 'duotone';
11
12
-export type PaintFunction = (color: string) => React.ReactNode | null;
13
-
14
export interface IconProps {
15
color?: string;
16
size?: string | number;
0 commit comments