@activecollab/components
Version:
ActiveCollab Components
15 lines • 687 B
TypeScript
import React, { ReactNode } from "react";
import { InputSize } from "../Input/types";
import { ITypographyProps } from "../Typography/Typography";
export interface ChipProps {
label: string;
onClose?: React.MouseEventHandler<HTMLButtonElement>;
startAdornment?: ReactNode;
size?: InputSize;
color?: string;
backgroundColor?: string;
closeClassName?: string;
typographyProps?: ITypographyProps;
}
export declare const Chip: React.ForwardRefExoticComponent<ChipProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof ChipProps> & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Chip.d.ts.map