SpanClickable()function
SpanClickable({
title,
children = "Click", //
className,
}: StylableClickableProps): ReactElement| Param | Type | |
|---|---|---|
props | StylableClickableProps | Props for a clickable that also accepts a className for styling. required |
.className | string |
| Return | |
|---|---|
ReactElement |
Render a non-interactive <span> element, used as the fallback when neither href nor onClick is provided.
Examples
<SpanClickable className="label">Static</SpanClickable>