cf-component-select
Cloudflare Select Component
Installation
Installation with yarn is recommended
$ yarn add cf-component-select
Usage
import React from 'react';import CodeBlock from 'cf-component-code';import Select from 'cf-component-select'; Component { ; thisstate = value: 1 multiValue: 1 3 ; } { this; } { this; } { return <div> <Select ="Basic" = = = /> <Select ="Searchable" = = = /> <Select ="Searchable Multi" = = = /> <Select ="Disabled" = = = /> <p>You can make Select searchable:</p> <CodeBlock>`<Select searchable .../>`</CodeBlock> <p>Or a multi-select:</p> <CodeBlock>`<Select multi .../>`</CodeBlock> <p>Or both!</p> <CodeBlock>`<Select searchable multi .../>`</CodeBlock> <p>Async and Creatable are also supported</p> <CodeBlock> `<Select async .../><Select creatable .../>` </CodeBlock> </div> ; } ;