UNPKG

@unicity/design-system

Version:

A comprehensive React component library built on Material-UI with advanced theming capabilities including neumorphism design support

11 lines 538 B
import { jsx as _jsx } from "react/jsx-runtime"; import { Tooltip, } from '@mui/material'; import { StyledFab } from './Fab.style'; export const Fab = ({ children, tooltip, pulse = false, position = 'bottom-right', fixed = false, ...props }) => { const fab = (_jsx(StyledFab, { pulse: pulse, position: position, fixed: fixed, ...props, children: children })); if (tooltip) { return (_jsx(Tooltip, { title: tooltip, arrow: true, placement: "left", children: fab })); } return fab; }; //# sourceMappingURL=Fab.js.map