react-timeline
Version:
A simple configurable react timeline component
12 lines (11 loc) • 406 B
TypeScript
export declare type ButtonSize = 'small' | 'medium' | 'large';
export interface Props {
label: string;
backgroundColor?: string;
color?: string;
size?: ButtonSize;
onClick?: () => void;
}
declare type StyledProps = Pick<Props, 'size' | 'backgroundColor' | 'color'>;
export declare const Button: import("styled-components").StyledComponent<"button", any, StyledProps, never>;
export {};