Pill selector
Last updated: 2.0.0 (18/01/2024)
Usage
import { PillSelector } from "@valence-ui/core";
function MyComponent() {
const [value, setValue] = React.useState(["hello", "world"]);
return (
<PillSelector
value={value}
setValue={setValue}
pills={["hello", "there", "world"]}
/>
)
}Add new pills
Change wrap style
Props
Property
Type
Description
PillSelectorEventProps
Property
Type
Description
Last updated