Skip to content

Commit

Permalink
Adding deprecation warning for fill2 as duotone icons are progressive…
Browse files Browse the repository at this point in the history
…ly removed
  • Loading branch information
TimRoe committed Mar 4, 2024
1 parent 8707a18 commit b5f25b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ export type IconProps = {
/** Fill color for the icon */
fill?: string // keyof IconColors | keyof VATextColors | string

/** Secondary fill color for duotone icons--fills icons inside main fill, defaults white */
/** Slated for deprecation. Icon updates eliminating duotone icons over time.
* Secondary fill color for duotone icons--fills icons inside main fill, defaults white */
fill2?: string

/** Stroke color of the icon */
Expand Down

0 comments on commit b5f25b9

Please sign in to comment.