import { forwardRef } from 'react'; import dynamic from 'next/dynamic'; import { Button, Icon } from '@chakra-ui/react'; import { useGlobalState } from '~/context'; import type { ButtonProps } from '@chakra-ui/react'; const ChevronLeft = dynamic(() => import('@meronex/icons/fi').then(i => i.FiChevronLeft), ); export const ResetButton = forwardRef((props, ref) => { const { isSubmitting } = useGlobalState(); return ( ); });