UNPKG

welcome-ui

Version:

Customizable design system with react • styled-components • styled-system and ariakit.

16 lines (15 loc) 580 B
import { default as React } from 'react'; import { CreateWuiProps } from '../System'; import { UniversalLinkOptions } from '../UniversalLink'; export interface LinkOptions { disabled?: boolean; isExternal?: boolean; variant?: Variant; } export type LinkProps = CreateWuiProps<'a', LinkOptions & UniversalLinkOptions>; export type WrapWithTextProps = Pick<LinkOptions, 'isExternal'> & { children: JSX.Element | React.ReactNode; }; type Variant = 'primary' | 'secondary'; export declare const Link: import('../System').CreateWuiComponent<"a", LinkProps>; export {};