UNPKG

surf-design-system

Version:
15 lines (14 loc) 570 B
/** @jsxRuntime classic */ /** @jsx jsx */ import { SerializedStyles } from '@emotion/react'; import React from 'react'; import { sizeSDS } from '../types/common'; export interface LinkProps { size?: sizeSDS; inline?: boolean; disabled?: boolean; children?: React.ReactNode; onClick?: React.MouseEventHandler<HTMLSpanElement>; emotionCss?: SerializedStyles | SerializedStyles[]; } export default function Link({ size, inline, disabled, children, onClick, emotionCss, }: LinkProps): import("@emotion/react/jsx-runtime").JSX.Element;