Skip to main content

Link

Components

Link(props, context?): ReactNode

The Link component renders an anchor element to handle two use cases

  • where the onClick function is specified, internal navigation within the app or other action specified by the handler
  • where the onClick function isn't specified, navigation to external resource specified in its 'href'

Parameters

ParameterType
propsLinkProps
context?any

Returns

ReactNode

an anchor element, with its click handler properly defined.

Source

libs/design-system-core/src/components/Link/index.tsx:27

Props

LinkProps

LinkProps: PropsWithChildren<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "href"> & object>

Source

libs/design-system-core/src/components/Link/index.tsx:7