This component is an implementation of a custom tag
Name | Type | Default | Description |
---|---|---|---|
id | string | ID of the element | |
text | string | number | Text of tag | |
kind | primary | secondary | tertiary | Set defined styles of the component | |
type | standard | success | warning | error | disabled | Set the style depending on the type | |
background | string | #B4C4F9 | Set background color |
width | string | Set width size | |
height | string | Set height size | |
borderRadius | string | 5px | Set border radius |
textSize | string | Set text size | |
textColor | string | black | Set text color |
bold | boolean | false | Set text bold |
startEnhancer | string | ReactNode | Set icon to start | |
endEnhancer | string | ReactNode | Set icon to end | |
onClick | MouseEventHandler | Set onClick function |