Link is a navigation component that helps users achieve quick routing functions within pages. It also opens external links in a new window for access.
import { Meta } from "wis/meta"
API Reference#
Name | Type | Default | Description |
---|---|---|---|
inverse | boolean | None | Set to invert the color |
disabled | boolean | None | Set to disabled status |
text | string | None | The text information displayed for the link |
href | string | None | The link address, which can be an internal routing short address or an external address |
redirect | boolean | None | The jump method is redirection, which will replace the current address. |
onClick | (event: MouseEvent<HTMLAnchorElement>) => void | None | The event handler called when the link is clicked. |