UNPKG

@university-ecosystem/ui-kit

Version:
32 lines (31 loc) 731 B
/// <reference types="react" /> export declare const ButtonColor: { primary: string; contrast: string; grey: string; }; export interface ButtonColorValues { hover: string; base: string; clicked: string; } export declare const ButtonVariants: { filled: string; secondary: string; text: string; }; export declare const ButtonSize: { fullWidth: string; large: string; default: string; small: string; inherit: string; }; export type ButtonProps = React.ComponentProps<'button'> & { variant?: keyof typeof ButtonVariants; onlyIcon?: boolean; icon?: React.ReactNode; size?: keyof typeof ButtonSize; isLoading?: boolean; color?: keyof typeof ButtonColor; };