Skip to content

Commit

Permalink
feat(icon types): allow for unknown props to be passed to TIconProps …
Browse files Browse the repository at this point in the history
…type for compatibility with classnames/style props passage in downstream apps
  • Loading branch information
ByronDWall committed Jan 17, 2025
1 parent 94a387d commit 5dda3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion design-system/src/icon-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { css } from '@emotion/react';
import designTokens from './design-tokens';

export type TIconProps = {
export type TIconProps = Record<string, unknown> & {
color?:
| 'solid'
| 'neutral60'
Expand Down

0 comments on commit 5dda3b6

Please sign in to comment.