1.3.2 • Published 5 years ago

@lendi-ui/inline-dropdown v1.3.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

@lendi-ui/inline-dropdown

A component.

Installation

yarn add @lendi-ui/inline-dropdown

Usage

import InlineDropdown from '@lendi-ui/inline-dropdown';
(items = [
  {
    value: '1',
    label: '5 years',
  },
  {
    value: '2',
    label: '10 years',
  },
  {
    value: '3',
    label: '15 years',
  },
  {
    value: '4',
    label: '20 years',
  },
  {
    value: '5',
    label: '25 years',
  },
]),
  <InlineDropdown size="md" items={items} />;

Properties

<PropTable>
  <PropTable.Entry name="size" type={'"lg" | "md" | "sm"'} defaultValue="md" description="the inline-dropdown size"/>
  <PropTable.Entry name="items*" type="[{value: string, label: string}]" description="an object array with 'value' and 'label' that display in this component"/>
</PropTable>
1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago