Home > @uniformdev/mesh-sdk-react > LinkButton
LinkButton() function
Warning: This API is now obsolete.
this component is not recommended for use in new projects
An opinionated link component styled the same of the ObjectSearchResultItemButton component, that automatically sets the target and rel attributes. Best used within the ObjectSearchResultItem component
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
{ text, icon, ...props } | ObjectSearchResultItemButtonProps<Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "rel">> |
Returns:
_emotion_react_jsx_runtime.JSX.Element
Example
<LinkButton text="link text" icon="/my-image.png" />