import * as React from 'react'; import { PropTypes } from '..'; import { OverridableComponent, OverrideProps } from '../OverridableComponent'; export interface ChipTypeMap

{ props: P & { avatar?: React.ReactElement; clickable?: boolean; color?: PropTypes.Color; deleteIcon?: React.ReactElement; disabled?: boolean; icon?: React.ReactElement; label?: React.ReactNode; onDelete?: React.EventHandler; size?: 'small' | 'medium'; variant?: 'default' | 'outlined'; }; defaultComponent: D; classKey: ChipClassKey; } /** * Chips represent complex entities in small blocks, such as a contact. * Demos: * * - [Chips](https://material-ui.com/components/chips/) * * API: * * - [Chip API](https://material-ui.com/api/chip/) */ declare const Chip: OverridableComponent; export type ChipClassKey = | 'root' | 'sizeSmall' | 'colorPrimary' | 'colorSecondary' | 'disabled' | 'clickable' | 'clickableColorPrimary' | 'clickableColorSecondary' | 'deletable' | 'deletableColorPrimary' | 'deletableColorSecondary' | 'outlined' | 'outlinedPrimary' | 'outlinedSecondary' | 'avatar' | 'avatarSmall' | 'avatarColorPrimary' | 'avatarColorSecondary' | 'icon' | 'iconSmall' | 'iconColorPrimary' | 'iconColorSecondary' | 'label' | 'labelSmall' | 'deleteIcon' | 'deleteIconSmall' | 'deleteIconColorPrimary' | 'deleteIconColorSecondary' | 'deleteIconOutlinedColorPrimary' | 'deleteIconOutlinedColorSecondary'; export type ChipProps< D extends React.ElementType = ChipTypeMap['defaultComponent'], P = {} > = OverrideProps, D>; export default Chip;