Skip to content

Commit

Permalink
feat: clean up unused PaintFunction type
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkpatchaa committed Jan 23, 2025
1 parent f403e2c commit 02999cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/icon-base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function IconBase({
weight: contextWeight = 'regular',
mirrored: contextMirrored = false,
style: contextStyle,
duotoneColor: contextDuotoneColor = '#000',
duotoneColor: contextDuotoneColor,
duotoneOpacity: contextDuotoneOpacity = 0.2,
} = useContext(IconContext);

Expand Down
2 changes: 0 additions & 2 deletions src/lib/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export type IconWeight =
| 'fill'
| 'duotone';

export type PaintFunction = (color: string) => React.ReactNode | null;

export interface IconProps {
color?: string;
size?: string | number;
Expand Down

0 comments on commit 02999cb

Please sign in to comment.