From b968ab51346af8545a682f581fadadbce24558c4 Mon Sep 17 00:00:00 2001 From: Byron Wall Date: Thu, 16 Jan 2025 13:37:50 -0500 Subject: [PATCH] feat(icon types): allow for unknown props to be passed to TIconProps type for compatibility with classnames/style props passage in downstream apps --- design-system/src/icon-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/design-system/src/icon-utils.ts b/design-system/src/icon-utils.ts index 6bd27470fd..3448893290 100644 --- a/design-system/src/icon-utils.ts +++ b/design-system/src/icon-utils.ts @@ -2,7 +2,7 @@ import { css } from '@emotion/react'; import designTokens from './design-tokens'; -export type TIconProps = { +export type TIconProps = Record & { color?: | 'solid' | 'neutral60'