tsdev-react-tag
Installation
npm install tsdev-react-tag
Properties
name | type | default | required |
---|---|---|---|
disabled | bool | false | no |
handleOnClose | func | noop | no |
id | string | 'tsdev-tag-{uuid}' | no |
isClosable | bool | true | no |
label | string | my-tag | no |
labelMaxWidth | number | 130 | no |
showValue | bool | true | no |
subClass | string | '' | no |
value | string, number | '123' | no |
Static Storybook
- open with browser '/storybook-static/index.html'
Examples
- open with browser '/dist/examples/index.html'
## Styles
- '/dist/styles.css'
Functions
handleOnClose(event, tag) => {
console.log(event);
console.log(tag)
}