UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

19 lines (18 loc) 762 B
import { CommonLinkProps } from '../LinkButton/LinkButton'; import { LinkVariant } from './Link.utils'; export interface LinkProps extends CommonLinkProps { /** Content within the link. */ children: React.ReactNode; /** Sets an underline. */ active?: boolean; /** Visual style variant of the Link. * @default 'neutral' */ variant?: LinkVariant; } /** * Use Link when you want the users to navigate to another internal or external page. * * Design in Figma: [Link](https://www.figma.com/design/qXldpLO6gxHJNLdcXIPxYt/Core-Components-%F0%9F%92%A0?node-id=168-7210&t=UBsmFURFENnuYSW1-11) * */ export declare const DSLink: import('react').ForwardRefExoticComponent<LinkProps & import('react').RefAttributes<HTMLAnchorElement>>;