'use client'; import { forwardRef } from 'react'; import { ButtonProps } from './button.types'; import { bool, oneOf, string } from 'prop-types'; import { ButtonLayout } from '../button-layout/button-layout'; import { IconWrapper } from '../../icon/icon-wrapper'; /** * Button component ** description */ export const Button = forwardRef( ( { icon = undefined, className = '', disabled = false, variant = 'filled', iconPlace = 'left', centralRipple = false, ...props }, ref, ) => ( {props.children} ), ); Button.propTypes = { icon: string, children: string, centralRipple: bool, variant: oneOf(['filled', 'outlined', 'elevated', 'tonal', 'text']), };