UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

47 lines (46 loc) 1.13 kB
import { CustomFabProps } from "./CustomFabProps"; import React from "react"; import { ListItemReact } from "@etsoo/react"; import { PopoverOrigin } from "@mui/material/Popover"; import { PaperProps } from "@mui/material/Paper"; /** * More fab props */ export interface MoreFabProps extends CustomFabProps { /** * Actions */ actions?: (ListItemReact | boolean)[]; /** * Dray arrow */ drawArrow?: boolean; /** * Main icon */ icon?: React.ReactNode; /** * Show as icon button */ iconButton?: boolean; /** * This is the point on the anchor where the popover's * `anchorEl` will attach to */ anchorOrigin?: PopoverOrigin; /** * Props applied to the [`Paper`](/api/paper/) element. * @default {} */ PaperProps?: Partial<PaperProps>; /** * This is the point on the popover which * will attach to the anchor's origin */ transformOrigin?: PopoverOrigin; } /** * More fab * @returns Component */ export declare function MoreFab(props: MoreFabProps): import("react/jsx-runtime").JSX.Element;