Skip to content

Commit 524b474

Browse files
snowystingerdevongovett
authored andcommitted
fix: Combobox docs placeholder string (#9390)
1 parent 950282c commit 524b474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/dev/s2-docs/pages/react-aria/ComboBox.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const description = 'Combines a text input with a listbox, allowing users
2020
<PageDescription>{docs.exports.ComboBox.description}</PageDescription>
2121

2222
<ExampleSwitcher>
23-
```tsx render docs={vanillaDocs.exports.ComboBox} links={vanillaDocs.links} props={['label', 'isDisabled']} initialProps={{label: 'Favorite Animal', placeholder: 'Select a flavor'}} type="vanilla" files={["starters/docs/src/ComboBox.tsx", "starters/docs/src/ComboBox.css"]}
23+
```tsx render docs={vanillaDocs.exports.ComboBox} links={vanillaDocs.links} props={['label', 'isDisabled']} initialProps={{label: 'Favorite Animal', placeholder: 'Select an animal'}} type="vanilla" files={["starters/docs/src/ComboBox.tsx", "starters/docs/src/ComboBox.css"]}
2424
"use client";
2525
import {ComboBox, ComboBoxItem} from 'vanilla-starter/ComboBox';
2626

@@ -34,7 +34,7 @@ export const description = 'Combines a text input with a listbox, allowing users
3434
</ComboBox>
3535
```
3636

37-
```tsx render docs={vanillaDocs.exports.ComboBox} links={vanillaDocs.links} props={['label', 'isDisabled']} initialProps={{label: 'Favorite Animal', placeholder: 'Select a flavor'}} type="tailwind" files={["starters/tailwind/src/ComboBox.tsx"]}
37+
```tsx render docs={vanillaDocs.exports.ComboBox} links={vanillaDocs.links} props={['label', 'isDisabled']} initialProps={{label: 'Favorite Animal', placeholder: 'Select an animal'}} type="tailwind" files={["starters/tailwind/src/ComboBox.tsx"]}
3838
"use client";
3939
import {ComboBox, ComboBoxItem} from 'tailwind-starter/ComboBox';
4040

0 commit comments

Comments
 (0)