@octopusdeploy/design-system-components
Version:
The design systems component library.
19 lines (18 loc) • 737 B
TypeScript
import type { ChipProps as MaterialChipProps } from "@mui/material/Chip";
import type { ReactNode } from "react";
type ChipStyleProps = {
backgroundColor?: string;
labelColor?: string;
markAsRemoved?: boolean;
borderColor?: string;
fullWidth?: boolean;
noMargin?: boolean;
accessibilityRole?: string;
backgroundColorOnHover?: string;
tooltipContent?: ReactNode;
opacity?: number;
};
type ExposedMaterialChipProps = Pick<MaterialChipProps, "onClick" | "onDelete" | "deleteIcon" | "label" | "variant" | "tabIndex" | "icon" | "className">;
type ChipProps = ChipStyleProps & ExposedMaterialChipProps;
export declare function Chip(props: ChipProps): import("react/jsx-runtime").JSX.Element;
export {};