lune-ui-lib
Version:
Lune UI Components Library
21 lines (20 loc) • 721 B
TypeScript
import type { SxProps } from '@mui/material';
import { ReactElement, ReactNode } from 'react';
declare const IconButtonDropdown: {
({ icon, id, children, closeOnClick, menuAutoWidth, sx, position, }: {
icon: JSX.Element;
id?: string;
closeOnClick?: boolean;
menuAutoWidth?: boolean;
sx?: SxProps;
position?: 'left' | 'right' | 'center';
children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
MenuItem: ({ icon, title, onClick, disabled, }: {
icon: ReactElement;
title: ReactNode;
onClick: () => void;
disabled?: boolean;
}) => import("react/jsx-runtime").JSX.Element;
};
export default IconButtonDropdown;