@pagopa/mui-italia
Version:
[Material-UI](https://mui.com/core/) theme inspired by [Bootstrap Italia](https://italia.github.io/bootstrap-italia/).
16 lines (15 loc) • 516 B
TypeScript
import { ReactNode } from "react";
import { LinkType } from "../Footer";
export type ProductSwitchItem = {
id: string;
title: string;
productUrl: string;
linkType: LinkType;
icon?: ReactNode;
};
export type ProductSwitchProps = {
currentProductId: string;
products: Array<ProductSwitchItem>;
onExit?: (product: ProductSwitchItem) => void;
};
export declare const ProductSwitch: ({ products, onExit, currentProductId, }: ProductSwitchProps) => import("react/jsx-runtime").JSX.Element;