import type { ReactNode, FunctionComponent, ComponentClass } from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; import type { ColorName } from '../../context/theme/types'; import type { TextProps } from '../Text'; import { BaseProperties } from '../../@types/utilities'; import { SxProps } from '../../lib/styleDictionary'; export type ButtonSize = 'small' | 'middle' | 'large' | 'xLarge'; export type ButtonType = 'solid' | 'link' | 'flat' | 'outline'; export interface ButtonProps extends BaseProperties, SxProps { Component?: FunctionComponent | ComponentClass; children?: ReactNode; appearance?: ColorName; disableRipple?: boolean; bold?: boolean; disableTransform?: boolean; disabled?: boolean; fullWidth?: boolean; loading?: boolean; onlyIcon?: boolean; startContent?: ReactNode; endContent?: ReactNode; shape?: 'circle' | 'round'; size?: ButtonSize; style?: StyleProp; textProps?: Omit; type?: ButtonType; sx?: SxProps & { root?: SxProps; container?: SxProps; icon?: SxProps; text?: SxProps; }; } //# sourceMappingURL=types.d.ts.map