@propellerads/button-drop-down
v2.5.0
Published
ButtonDropDown component
Downloads
904
Keywords
Readme
ButtonDropDown
Installation
yarn add @propellerads/button-drop-down
ornpm install @propellerads/button-drop-down -S
How to use
import ButtonDropDown from '@propellerads/button-drop-down';
- And render
<ButtonDropDown
options={[{id: 'button-drop-down-0', title: 'Option'}]}
elementId="button-drop-down"
title="Title"
type="isAdvanced"
onClick={(value) => console.log(value.id)}
/>