@pagopa/mui-italia
Version:
[Material-UI](https://mui.com/core/) theme inspired by [Bootstrap Italia](https://italia.github.io/bootstrap-italia/).
22 lines (21 loc) • 1.14 kB
TypeScript
import { ProductSwitchItem } from "../ProductSwitch";
import { PartySwitchItem } from "../PartySwitch";
export type ProductEntity = ProductSwitchItem;
export type PartyEntity = PartySwitchItem;
export type ChipColors = "default" | "indigo" | "primary" | "secondary" | "error" | "info" | "success" | "warning";
export type HeaderProductProps = {
borderBottom?: number;
borderColor?: string;
chipColor?: ChipColors;
chipLabel?: string;
chipSize?: "small" | "medium";
maxCharactersNumberMultiLineButton?: number;
maxCharactersNumberMultiLineItem?: number;
onSelectedParty?: (party: PartySwitchItem) => void;
onSelectedProduct?: (product: ProductSwitchItem) => void;
partyId?: string;
partyList?: Array<PartyEntity>;
productId?: string;
productsList: Array<ProductEntity>;
};
export declare const HeaderProduct: ({ borderBottom, borderColor, chipColor, chipLabel, chipSize, maxCharactersNumberMultiLineButton, maxCharactersNumberMultiLineItem, onSelectedParty, onSelectedProduct, partyId, partyList, productId, productsList, }: HeaderProductProps) => import("react/jsx-runtime").JSX.Element;