UNPKG

@prezly/theme-kit-ui

Version:
17 lines (16 loc) 443 B
import type { FunctionComponent, SVGProps } from 'react'; export declare enum LinkVariant { PRIMARY = "primary", SECONDARY = "secondary" } export declare enum LinkSize { DEFAULT = "default", SMALL = "small" } export interface BaseProps { variation?: `${LinkVariant}`; size?: `${LinkSize}`; className?: string; icon?: FunctionComponent<Omit<SVGProps<SVGElement>, 'ref'>>; iconPlacement?: 'left' | 'right'; }