Skip to content

Commit 5b80649

Browse files
committed
typos
1 parent 1e30d32 commit 5b80649

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/hooks/useCombobox.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ In the example below, we use:
922922
example][code-sandbox-combobox-tag-group].
923923

924924
```jsx live
925-
function TagGroupExample() {
925+
function ComboBoxExample() {
926926
const books = [
927927
{id: 'book-1', author: 'Harper Lee', title: 'To Kill a Mockingbird'},
928928
{id: 'book-2', author: 'Lev Tolstoy', title: 'War and Peace'},
@@ -940,7 +940,7 @@ function TagGroupExample() {
940940
{id: 'book-10', author: 'Fyodor Dostoevsky', title: 'Crime and Punishment'},
941941
]
942942

943-
function TagGroup() {
943+
function ComboBox() {
944944
const initialItems = books.slice(0, 2)
945945
const [inputValue, setInputValue] = React.useState('')
946946

@@ -1061,7 +1061,7 @@ function TagGroupExample() {
10611061
)
10621062
}
10631063

1064-
return <TagGroup />
1064+
return <ComboBox />
10651065
}
10661066
```
10671067

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@mdx-js/mdx": "^1.6.22",
2525
"@mdx-js/react": "^1.6.22",
2626
"clsx": "^1.1.1",
27-
"downshift": "9.1.0-alpha.6",
27+
"downshift": "9.1.0-alpha.7",
2828
"mdx-embed": "^1.1.2",
2929
"my-loaders": "file:plugins/my-loaders",
3030
"prism-react-renderer": "^1.3.1",

0 commit comments

Comments
 (0)