import { UIColorValues, UISize } from '@/UI-kit/types';

export enum IButtonType {
    BUTTON = 'button',
    SUBMIT = 'submit',
    RESET = 'reset',
}

interface IButtonLoader {
    text?: string | null;
    color?: UIColorValues;
    accentColor?: UIColorValues;
}

export interface IButtonProps {
    text?: string;
    isLoading?: boolean;
    isBoxShadow?: boolean;
    disabled?: boolean;
    size?: UISize;
    color?: UIColorValues;
    bgColor?: UIColorValues;
    borderColor?: UIColorValues | null;
    loaderBorderColor?: UIColorValues;
    isActive?: boolean;
    activeColor?: UIColorValues;
    activeBgColor?: UIColorValues;
    buttonType?: IButtonType;
    loader?: IButtonLoader;
}
