@foundation-base/tag
v5.4.0
Published
Base tag component for foundation
Downloads
101
Readme
@foundation-base/tag
Base tag component for foundation
Props
label: string
The label
prop is to pass the content, that is to be displayed in the tag
selectable : boolean
The selectable
prop determines whether the tag shows a fixed label, or acts like a toggle
selected : boolean
The selected
prop controls the toggle action, i.e., whether the tag is selected or not
onClick: (e: any) => void
The onClick
prop is to pass a function which is to be triggered on the click of the tag
Install
npm install --save @foundation-base/tag
License
MIT © lijoejohn