Update various components
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
import type { ComponentProps } from "react";
|
||||
|
||||
|
||||
export type Align = "start" | "end";
|
||||
export type Placement = "top" | "bottom" | "left" | "right";
|
||||
export type AnchorTo = `${Placement}` | `${Placement} ${Align}`;
|
||||
@@ -9,7 +12,7 @@ export interface PopoverMenuProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export interface NavBarProps {
|
||||
export interface NavBarProps extends ComponentProps<"nav"> {
|
||||
className?: string;
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user