@posten-hedwig/dropdown

4.1.1 • Public • Published

Dropdown

Hedwig styled dropdown

Usage

1 Install

npm install @posten-hedwig/dropdown

2 Import

import { Dropdown } from '@posten-hedwig/dropdown'

3 Render

<Dropdown
  label="Label"
  onChange={() => {}}
  placeholder: 'Please select'
  options={[
    {
      label: 'Option 1',
      value: '1'
    },
    {
      label: 'Option 2',
      value: '2'
    },
    {
      label: 'Option 3',
      value: '3'
    }
  ]}
/>

Readme

Keywords

Package Sidebar

Install

npm i @posten-hedwig/dropdown

Weekly Downloads

39

Version

4.1.1

License

ISC

Unpacked Size

23.9 kB

Total Files

8

Last publish

Collaborators

  • amitjagtap04
  • harald.vinje
  • hellehi
  • viggooo