@prezly/theme-kit-ui
Version:
UI components for Prezly themes
17 lines (16 loc) • 443 B
TypeScript
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';
}