@kloudlite/design-system
Version:
A design system for building ambitious products.
21 lines (20 loc) • 470 B
TypeScript
import { ReactNode } from 'react';
interface IItem {
type: 'plain';
content: ReactNode;
}
interface IItemAdvance {
type: 'advance';
prefix?: JSX.Element;
path: string;
optionContent?: ReactNode;
optionValue: string;
}
interface ISeparator {
type: 'separator';
}
type IRoot = {
items: (IItem | IItemAdvance | ISeparator)[];
};
declare const Header: ({ items }: IRoot) => import("react/jsx-runtime").JSX.Element;
export default Header;