@gluestack-ui/core
Version:
Universal UI components for React Native, Expo, and Next.js
11 lines • 628 B
TypeScript
import type { IMenuComponentType } from './types';
declare const createMenu: <Root, Item, Label, Backdrop, Separator>({ Root: StyledMenu, Item: StyledMenuItem, Label: StyledItemLabel, Backdrop: StyledBackdrop, AnimatePresence, Separator: StyledSeparator, }: {
Root: React.ComponentType<Root>;
Item: React.ComponentType<Item>;
Label: React.ComponentType<Label>;
Backdrop: React.ComponentType<Backdrop>;
AnimatePresence?: React.ComponentType<any>;
Separator?: React.ComponentType<Separator>;
}) => IMenuComponentType<Root, Item, Label, Separator>;
export { createMenu };
//# sourceMappingURL=index.d.ts.map