Skip to content

Commit f8a5583

Browse files
authored
feat(combobox docs): add no-chevron reasoning (#4070)
* feat(combobox docs): add no-chevron reasoning * fix: remove extra import and fix heading level * chore: add back old import * chore: add marginY to Callout
1 parent 43bd80a commit f8a5583

File tree

1 file changed

+5
-0
lines changed
  • packages/paste-website/src/pages/components/combobox

1 file changed

+5
-0
lines changed

packages/paste-website/src/pages/components/combobox/index.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ This is useful when a user needs to filter a list of options, or when there are
138138
users may find it difficult to navigate with only scrolling. Pass the `autocomplete` prop to enable
139139
the feature.
140140

141+
<Callout variant="neutral" marginY="space70">
142+
<CalloutHeading as="h4">Why doesn't the autocomplete Combobox have a chevron?</CalloutHeading>
143+
<CalloutText>The autocomplete Combobox doesn't have a chevron because it's often used as a search input, where showing a chevron could be confusing.</CalloutText>
144+
</Callout>
145+
141146
<LivePreview scope={{Combobox}} noInline language="jsx" showOverflow>
142147
{autoCompleteExample}
143148
</LivePreview>

0 commit comments

Comments
 (0)