@foundation-base/tag
TypeScript icon, indicating that this package has built-in type declarations

5.4.0 • Public • Published

@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

Dependents (0)

Package Sidebar

Install

npm i @foundation-base/tag

Weekly Downloads

54

Version

5.4.0

License

MIT

Unpacked Size

273 kB

Total Files

11

Last publish

Collaborators

  • unplatformsdeveloper