You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> 🚨 We're also in the process of updating our examples from the
1099
1099
> [downshift-docs](https://github.com/downshift-js/downshift-docs) repo which is
@@ -1105,35 +1105,35 @@ platforms:
1105
1105
1106
1106
If you're just learning downshift, review these in order:
1107
1107
1108
-
0.[basic automplete with getRootProps](https://codesandbox.io/s/github/kentcdodds/downshift-examples?file=/src/downshift/ordered-examples/00-get-root-props-example.js) -
1108
+
0.[basic automplete with getRootProps](https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fdownshift%2Fordered-examples%2F00-get-root-props-example.js%3A11%2C21&moduleview=1) -
1109
1109
the same as example #1 but using the correct HTML structure as suggested by
Shows how to create a MultiDownshift component that allows for an array of
1121
1121
selectedItems for multiple selection using a state reducer
1122
1122
1123
1123
**Other Examples:**
1124
1124
1125
1125
Check out these examples of more advanced use/edge cases:
1126
1126
1127
-
-[dropdown with select by key](https://codesandbox.io/s/github/kentcdodds/downshift-examples/tree/master/?module=%2Fsrc%2Fother-examples%2Fdropdown-select-by-key%2FCustomDropdown%2Findex.js) -
1127
+
-[dropdown with select by key](https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fdownshift%2Fother-examples%2Fdropdown-select-by-key%2FCustomDropdown%2Findex.js&moduleview=1) -
1128
1128
An example of using the render prop pattern to utilize a reusable component to
1129
1129
provide the downshift dropdown component with the functionality of being able
1130
1130
to highlight a selection item that starts with the key pressed.
An example of a highly complex autocomplete component featuring asynchronously
1135
1135
loading items, multiple selection, and windowing (with react-virtualized)
1136
-
-[Downshift HOC and Compound Components](https://codesandbox.io/s/github/kentcdodds/downshift-examples/tree/master/?module=%2Fsrc%2Fother-examples%2Fhoc%2Findex.js&moduleview=1) -
1136
+
-[Downshift HOC and Compound Components](https://codesandbox.io/p/sandbox/github/kentcdodds/downshift-examples?file=%2Fsrc%2Fdownshift%2Fother-examples%2Fhoc%2Findex.js&moduleview=1) -
1137
1137
An example of how to implementat compound components with
1138
1138
`React.createContext` and a downshift higher order component. This is
1139
1139
generally not recommended because the render prop API exported by downshift is
@@ -1144,7 +1144,7 @@ Check out these examples of more advanced use/edge cases:
1144
1144
1145
1145
_🚨 This is a great contribution opportunity!_ These are examples that have not
You're more than welcome to make PRs to the examples repository to move these
1149
1149
examples over there.
1150
1150
[Watch this to learn how to contribute completely in the browser](https://www.youtube.com/watch?v=3PAQbhdkTtI&index=2&t=21s&list=PLV5CVI1eNcJgCrPH_e6d57KRUTiDZgs0u)
0 commit comments