import type { ReactNode, HTMLAttributes } from 'react' import React, { forwardRef } from 'react' import type { BaseProps } from '@toptal/picasso-shared' import { Typography } from '@toptal/picasso-typography' import { twMerge } from '@toptal/picasso-tailwind-merge' export interface Props extends BaseProps, HTMLAttributes { /** The text of the error */ children: ReactNode } export const FormError = forwardRef(function FormError( props, ref ) { const { children, className, style, ...rest } = props return (
{children}
) }) FormError.displayName = 'FormError' export default FormError