Skip to content

Commit e8c87b3

Browse files
committed
Replace components with slots in all Joy demos
1 parent 09739cc commit e8c87b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/data/joy/components/autocomplete/GitHubLabel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default function GitHubLabel() {
134134
multiple
135135
size="sm"
136136
placeholder="Filter labels"
137-
components={{ listbox: Listbox }}
137+
slots={{ listbox: Listbox }}
138138
onClose={(event, reason) => {
139139
if (reason === 'escape') {
140140
handleClose();

docs/data/joy/components/autocomplete/Virtualize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export default function Virtualize() {
121121
sx={{ width: 300 }}
122122
disableListWrap
123123
placeholder="Type to search"
124-
components={{
124+
slots={{
125125
listbox: ListboxComponent,
126126
}}
127127
options={OPTIONS}

0 commit comments

Comments
 (0)