import React from 'react'; import { tv, type VariantProps } from 'tailwind-variants'; import { cn } from '../../utils/cn'; const helperTextVariants = tv({ base: 'block text-sm font-normal mt-1.5', variants: { variant: { default: 'text-foreground-secondary', background: 'text-foreground-secondary', destructive: 'text-foreground-error', disabled: 'text-foreground-secondary', }, }, defaultVariants: { variant: 'default', }, }); export interface HelperTextProps extends React.HTMLAttributes, VariantProps {} const HelperText = React.forwardRef( ({ children, variant, className, ...props }, ref) => { return (

{children}

); } ); HelperText.displayName = 'HelperText'; export { HelperText, helperTextVariants };