@brizy/ui
Version:
React elements in Brizy style
17 lines (16 loc) • 581 B
TypeScript
import { ReactElement } from "react";
import { Placement } from "./utils";
export interface Props {
content: ReactElement;
contentWidth?: number | "fullWidth";
offset?: number;
placement?: Placement;
children: ReactElement;
opened?: boolean;
getContainer?: () => HTMLElement;
onOpenedChange?: (o: boolean) => void;
}
export declare const Dropdown: {
({ content, contentWidth, offset: overlayOffset, children, opened, placement, getContainer, onOpenedChange, }: Props): ReactElement;
Item: (props: import("./Item").Props) => ReactElement;
};