0.6.0 • Published 1 year ago

@foundationcomponentrepo/tag v0.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@foundationcomponentrepo/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 @foundationcomponentrepo/tag

License

MIT © unplatforms