import { DefaultTheme } from 'styled-components'; import { ButtonHTMLAttributes, PropsWithChildren } from 'react'; import { Margins, Paddings } from '../types'; type ButtonVariant = 'gray' | 'primary' | 'outlined' | 'danger' | 'text'; type ButtonSize = 'sm' | 'md' | 'lg'; type ButtonProps = PropsWithChildren<{ variant?: ButtonVariant; size?: ButtonSize; textColor?: string; height?: string | number; width?: string | number; isLoading?: boolean; borderRadius?: keyof DefaultTheme['w']['borderRadius']; } & Margins & Paddings>; declare const Button: (props: ButtonProps & ButtonHTMLAttributes) => JSX.Element; export default Button;