'use client'; import { forwardRef } from 'react'; import { Icon } from '../components'; import { FABProps } from './fab.types'; import { ButtonLayout } from '../button-layout/button-layout'; /** * FABs component ** description */ const sizes = { small: 24, default: 24, large: 36, extended: 24, }; export const FAB = forwardRef( ( { variant, disabled, icon, centralRipple = false, size = 'default', elevated, ...props }, ref, ) => ( {icon} {size === 'extended' ? ( {props.children} ) : ( <> )} ), );