0.1.0 • Published 2 years ago
@logo-rn/logo-dropdown v0.1.0
@logo-rn/logo-dropdown
is a dropdown menu for displaying selectable options.
Installation
Install the component:
npm i @logo-rn/logo-dropdown -s
Usage
Once installed, import the component in your application:
import {LogoDropdown} from '@logo-rn/logo-dropdown';
const SELECT_OPTIONS: { title: string }[] = [
{
title: "option1"
},
{
title: "option2"
},
{
title: "option3"
},
]
//...
<LogoDropdown
label="Label"
placeholder="Placeholder"
optionList={SELECT_OPTIONS}
/>