/// import { BaseContainerProps } from '../../containers/Base'; import { DefaultFlexInterface } from '../../containers/Flex'; import { Theme } from '../../themes/ThemeProvider/interface'; declare type ButtonColors = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger'; declare type ButtonSizes = 'extraSmall' | 'small' | 'medium' | 'large'; declare type ButtonVariants = 'contained' | 'outlined' | 'linked'; declare type NativeButtonProps = Omit, 'color'>; export declare type TypographyButtonVariantsInterface = 'btnTextExtraSmall' | 'btnTextDefault' | 'btnTextLarge'; export interface ButtonComponentProps { color?: ButtonColors; variant?: ButtonVariants; size?: ButtonSizes; icon?: React.ReactNode; iconPosition?: 'left' | 'right'; text?: string; isLoading?: boolean; fullWidth?: boolean; disabled?: boolean; area?: DefaultFlexInterface['area']; justifySelf?: DefaultFlexInterface['justifySelf']; alignSelf?: DefaultFlexInterface['alignSelf']; } export interface ButtonInterface extends NativeButtonProps, ButtonComponentProps, Omit { } export declare type ButtonStyleProps = { theme: Theme; } & ButtonInterface; export {};