Tags
Tags props
Name | Type | Description |
---|---|---|
wrapperRender | CustomRender<TagsProps, {}, WrapperProps> | ... |
_[className] | [x: string]: unknown | E.g.: _w-48 adds a css class w-48 to the component's outer wrapper. |
Tag props
Name | Type | Description |
---|---|---|
iconRender | CustomRender<TagProps, {}, IconProps> | ... |
onIconClick | CustomEventHandler<React.MouseEvent<HTMLSpanElement>> | Icon click handler |
wrapperRender | CustomRender<TagProps, {}, WrapperProps> | ... |
_[className] | [x: string]: unknown | E.g.: _w-48 adds a css class w-48 to the component's outer wrapper. |
() => { return ( <L.Tags> <L.Tag>Apple</L.Tag> <L.Tag>Banana</L.Tag> <L.Tag>Pineapple</L.Tag> <L.Tag>Plum</L.Tag> </L.Tags> ); }