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 FormWarning = forwardRef( function FormWarning(props, ref) { const { children, className, style, ...rest } = props return (
{children}
) } ) FormWarning.displayName = 'FormWarning' export default FormWarning