0.1.0 • Published 2 years ago

@logo-rn/logo-select v0.1.0

Weekly downloads
-
License
See license in LI...
Repository
-
Last release
2 years ago

@logo-rn/logo-select

is a dropdown menu for displaying selectable options. is a dropdown menu for displaying multiple selectable options.

npm version

Installation

Install the component:

npm i @logo-rn/logo-select -s

Usage

Once installed, import the component in your application:

import {LogoSelect, LogoMultiSelect} from '@logo-rn/logo-select';
  const SELECT_OPTIONS: { title: string }[] = [
      {
          title: "option1"
      },
       {
          title: "option2"
      },
      {
          title: "option3"
      },
  ]
  //...
  <LogoSelect
        label="Label"
        placeholder="Placeholder"
        optionList={SELECT_OPTIONS}
  />
  const SELECT_OPTIONS: { title: string }[] = [
    { title: "option1" },
    { title: "option2" },
    { title: "option3" },
  ]
 //...
  <LogoMultiSelect
    label="Label"
    placeholder="Placeholder"
    optionList={SELECT_OPTIONS}
  />

For more detailed information, please visit:

Logo Elements Documentation ↗