import * as React from 'react'; import { OverridableStringUnion, OverrideProps } from '@mui/types'; import { ColorPaletteProp } from '../styles/types/colorSystem.js'; import { VariantProp } from '../styles/types/variants.js'; import { SxProps } from '../styles/types/theme.js'; import '@mui/system'; import '../styles/types/colorScheme.js'; import '../styles/types/focus.js'; import '../styles/types/shadow.js'; import '../styles/types/radius.js'; import '../styles/types/typography.js'; declare type ChipSlot = "root" | "label" | "action" | "startDecorator" | "endDecorator"; interface ChipPropsColorOverrides { } interface ChipPropsSizeOverrides { } interface ChipPropsVariantOverrides { } interface ComponentsProps { root?: SlotComponentProps<"div", { sx?: SxProps; }, ChipOwnerState>; label?: SlotComponentProps<"span", { sx?: SxProps; }, ChipOwnerState>; action?: SlotComponentProps<"button", { sx?: SxProps; component?: React.ElementType; href?: string; to?: string; }, ChipOwnerState>; startDecorator?: SlotComponentProps<"span", { sx?: SxProps; }, ChipOwnerState>; endDecorator?: SlotComponentProps<"span", { sx?: SxProps; }, ChipOwnerState>; } interface ChipTypeMap
{
props: P & {
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* The props used for each slot inside the component.
* @default {}
*/
componentsProps?: ComponentsProps;
/**
* The color of the component. It supports those theme colors that make sense for this component.
* @default 'primary'
*/
color?: OverridableStringUnion