UNPKG

@0xsplits/splits-kit

Version:

UI Components for working with 0xSplits contracts

14 lines (13 loc) 431 B
/// <reference types="react" /> interface MenuItem { title: string; icon?: JSX.Element; onClick: () => void; } declare const DropdownMenu: ({ buttonBody, menuTitle, menuItems, menuPosition, }: { buttonBody: JSX.Element; menuTitle?: string | undefined; menuItems: MenuItem[]; menuPosition?: "left" | "right" | "bottom" | "top" | "bottomRight" | undefined; }) => JSX.Element; export default DropdownMenu;