@ndla/select
v6.0.34-alpha.0
Published
Select component library for NDLA.
Downloads
1,108
Keywords
Readme
Select
Select component.
Installation
yarn add @ndla/select
npm i --save @ndla/select
Usage
import { Select } from "@ndla/select";
<Select options={[{ value: "blå", label: "blå" }]} placeholder="Farger" />;
Can be controlled using value
and onChange
props.