as
"a" | "button" | "div"
Tag as text
<Tag>Tag as text</Tag>
Closable Tag
<TagcloseableonClose={function noRefCheck() {}}>Closable Tag</Tag>
Closable Tag
<TagcloseText="Remove filter"closeableonClose={function noRefCheck() {}}>Closable Tag</Tag>
<Tag onClick={function noRefCheck() {}}>Clickable Tag</Tag>
as
"a" | "button" | "div"
theme
Theme
atoms
Applies permitted design system styles. See styling documentation for more.
loading
"eager" | "lazy"
Not included in `AllHTMLAttributes` yet so sourced from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
decoding
"auto" | "sync" | "async"
Not included in `AllHTMLAttributes` yet so sourced from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
inputRef
Ref<HTMLElement>
Has to not be called ref - done because we also want to use a generic see https://gist.github.com/gaearon/1a018a023347fe1c2476073330cc5509
closeable
boolean
closeText
string
Default: "Close"
onClose
() => void