@szum-tech/design-system
Version:
Szum-Tech design system with tailwindcss support
19 lines (14 loc) • 861 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import * as React from 'react';
import { VariantProps } from 'class-variance-authority';
import * as class_variance_authority_types from 'class-variance-authority/types';
type HelperTextProps = React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement> & {
type?: HelperTextType;
};
declare function HelperText({ className, children, type, role, ref, ...props }: HelperTextProps): react_jsx_runtime.JSX.Element;
declare const helperTextCva: (props?: ({
type?: "error" | "description" | null | undefined;
} & class_variance_authority_types.ClassProp) | undefined) => string;
type HelperTextCvaProps = VariantProps<typeof helperTextCva>;
type HelperTextType = NonNullable<HelperTextCvaProps["type"]>;
export { HelperText, type HelperTextProps, type HelperTextType };