-
yarn add @propellerads/button-drop-down
ornpm install @propellerads/button-drop-down -S
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)}
/>