mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-07 14:13:58 -05:00
16 lines
367 B
TypeScript
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;
|
|
}
|