Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexErrant committed Oct 4, 2024
1 parent f08daa2 commit 107d32b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion apps/docs/src/examples/combobox.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Combobox } from "@kobalte/core/combobox";
import { For, createSignal } from "solid-js";
import { Combobox } from "../../../../packages/core/src/combobox";

import { CaretSortIcon, CheckIcon, CrossIcon } from "../components";
import style from "./combobox.module.css";
Expand Down Expand Up @@ -391,6 +391,7 @@ export function MultipleSelectionExample() {
value={values()}
onChange={setValues}
placeholder="Search some fruits…"
allowsCustomValue={true}
itemComponent={(props) => (
<Combobox.Item item={props.item} class={style.combobox__item}>
<Combobox.ItemLabel>{props.item.rawValue}</Combobox.ItemLabel>
Expand Down
8 changes: 5 additions & 3 deletions packages/core/dev/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import {MultipleSelectionExample} from "../../../apps/docs/src/examples/combobox"

export default function App() {
return (
<></>
);
return (
<MultipleSelectionExample/>
);
}

0 comments on commit 107d32b

Please sign in to comment.