"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Fab = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("react");
const enums_1 = require("./enums");
const styles_1 = require("./styles");
exports.Fab = (0, react_1.forwardRef)(({ variant = 'square', size = enums_1.FabSizes.Large, color = 'primary', ...props }, ref) => {
    return ((0, jsx_runtime_1.jsx)(styles_1.StyledFab, { ...props, variant: variant === 'square' ? 'circular' : variant, isSquare: variant === 'square', size: size, color: color, ref: ref }));
});
