Files
MattrixwvReactComponents/lib/types/NavTypes.ts

16 lines
367 B
TypeScript

export type Align = "start" | "end";
export type Placement = "top" | "bottom" | "left" | "right";
export type AnchorTo = `${Placement}` | `${Placement} ${Align}`;
export interface PopoverMenuProps {
buttonContent: React.ReactNode;
anchor?: AnchorTo;
children: React.ReactNode;
}
export interface NavBarProps {
className?: string;
children: React.ReactNode;
}