Hyperlink
Examples#
Basic#
export function App() { return ( <Window> <DemoLayout> <Hyperlink text="<https://github.com/>" onClick={() => { console.log('hyperlink clicked'); }} /> </DemoLayout> </Window> );}Usage:

In console:
hyperlink clickedAPI#
export interface IHyperlinkComponentProps extends IComponentProps { // the format of text: it should be wrapped in "<>", eg. <https://github.com/> text: string; onClick?: Parameters<IHyperlink['OnClick']>[0];}