Skip to content

Commit ccdb2e5

Browse files
committed
explicitly list string union in docs for size prop
1 parent db5a01f commit ccdb2e5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/content/TextInputWithTokens.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,12 @@ render(BasicExample)
243243
defaultValue="false"
244244
description="Whether tokens should render inline horizontally. By default, tokens wrap to new lines"
245245
/>
246-
<PropsTable.Row name="size" type="TokenSizeKeys" defaultValue="extralarge" description="The size of the tokens" />
246+
<PropsTable.Row
247+
name="size"
248+
type="'small' | 'medium' | 'large' | 'extralarge'"
249+
defaultValue="extralarge"
250+
description="The size of the tokens and text input"
251+
/>
247252
<PropsTable.Row
248253
name="hideTokenRemoveButtons"
249254
type="boolean"

0 commit comments

Comments
 (0)