import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from 'react';
import { FabSizes } from './enums';
import { StyledFab } from './styles';
export const Fab = forwardRef(({ variant = 'square', size = FabSizes.Large, color = 'primary', ...props }, ref) => {
    return (_jsx(StyledFab, { ...props, variant: variant === 'square' ? 'circular' : variant, isSquare: variant === 'square', size: size, color: color, ref: ref }));
});
