0.1.0 • Published 2 years ago
@logo-rn/logo-select v0.1.0
@logo-rn/logo-select
is a dropdown menu for displaying selectable options. is a dropdown menu for displaying multiple selectable options.
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}
/>