Skip to content

Commit c9e6305

Browse files
committed
Add @deprecated
1 parent d2307ca commit c9e6305

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/react/src/TextInputWithTokens/TextInputWithTokens.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ type AnyReactComponent = React.ComponentType<React.PropsWithChildren<any>>
2323

2424
// NOTE: if these props or their JSDoc comments are updated, be sure to also update
2525
// the prop table in docs/content/TextInputTokens.mdx
26+
/**
27+
* @deprecated
28+
*/
2629
export type TextInputWithTokensProps<TokenComponentType extends AnyReactComponent = typeof Token> = {
2730
/**
2831
* The array of tokens to render
@@ -336,4 +339,7 @@ const TextInputWithTokens = React.forwardRef(TextInputWithTokensInnerComponent)
336339

337340
TextInputWithTokens.displayName = 'TextInputWithTokens'
338341

342+
/**
343+
* @deprecated
344+
*/
339345
export default TextInputWithTokens

0 commit comments

Comments
 (0)