import * as React from 'react'; import { SlotCommonProps } from '../types/slot'; import { DistributiveOmit, OverridableComponent, OverridableTypeMap, OverrideProps } from '@mui/types'; import { ButtonBaseProps } from '../ButtonBase'; import { ExtendButtonBaseTypeMap } from '../ButtonBase/ButtonBase.types'; export type ButtonVariant = 'filled' | 'outlined' | 'text'; export type ButtonColor = 'primary' | 'error'; export interface ButtonTypeMap
{
props: P & {
/**
* The color scheme used by the Button
* @default 'primary'
*/
color?: ButtonColor;
/**
* The style of button to use
* @default 'filled'
*/
variant?: ButtonVariant;
} & Omit