UNPKG

@devopness/ui-react

Version:

Devopness Design System React Components - Painless essential DevOps to everyone

27 lines (26 loc) 661 B
type FormTextProps = { /** Main title */ title: string; /** Optional subtitle, can be text or ReactNode */ subTitle?: React.ReactNode; /** Optional custom color for subtitle */ subTitleColor?: string; }; /** * FormText Component * * Displays a section with a title, an optional subtitle, * and a divider line. * * @example * ```tsx * <FormText * title="Form Section" * subTitle="This is an optional subtitle" * subTitleColor="red" * /> * ``` */ declare const FormText: ({ title, subTitle, subTitleColor }: FormTextProps) => import("react/jsx-runtime").JSX.Element; export { FormText }; export type { FormTextProps };