infinity-ui-elements
Version:
A React TypeScript component library with Tailwind CSS design system
38 lines • 1.08 kB
TypeScript
import * as React from "react";
export interface FormFooterProps {
/**
* Helper text to display on the left side
*/
helperText?: string;
/**
* Trailing text to display on the right side (e.g., character count)
*/
trailingText?: string;
/**
* Validation state that affects styling and icon display
*/
validationState?: "default" | "positive" | "negative";
/**
* Size variant that affects text size, icon size, and spacing
*/
size?: "small" | "medium" | "large";
/**
* Whether the footer is in a disabled state
*/
isDisabled?: boolean;
/**
* Custom class name for the container
*/
className?: string;
/**
* Custom class name for the helper text
*/
helperTextClassName?: string;
/**
* Custom class name for the trailing text
*/
trailingTextClassName?: string;
}
declare const FormFooter: React.ForwardRefExoticComponent<FormFooterProps & React.RefAttributes<HTMLDivElement>>;
export { FormFooter };
//# sourceMappingURL=FormFooter.d.ts.map