@prezly/theme-kit-ui
Version:
UI components for Prezly themes
19 lines (18 loc) • 505 B
TypeScript
import type { FunctionComponent, SVGProps } from 'react';
export declare enum ButtonVariant {
PRIMARY = "primary",
SECONDARY = "secondary",
NAVIGATION = "navigation"
}
export declare enum ButtonSize {
DEFAULT = "default",
SMALL = "small"
}
export interface BaseProps {
variation?: `${ButtonVariant}`;
size?: `${ButtonSize}`;
className?: string;
icon?: FunctionComponent<Omit<SVGProps<SVGElement>, 'ref'>>;
iconPlacement?: 'left' | 'right';
rounded?: boolean;
}