Tags

Tags props

NameTypeDescription
wrapperRenderCustomRender<TagsProps, {}, WrapperProps>...
_[className]
[x: string]: unknown
E.g.: _w-48 adds a css class w-48 to the component's outer wrapper.

Tag props

NameTypeDescription
iconRenderCustomRender<TagProps, {}, IconProps>...
onIconClickCustomEventHandler<React.MouseEvent<HTMLSpanElement>>Icon click handler
wrapperRenderCustomRender<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>
  );
}