@hhgtech/hhg-components
Version:
Hello Health Group common components
20 lines (19 loc) • 640 B
TypeScript
import React, { CSSProperties, ReactNode } from 'react';
export type FormContainerProps = {
iconComponent?: ReactNode;
title?: string;
titleAlign?: string;
description?: string;
descriptionAlign?: string;
className?: string;
style?: CSSProperties;
children?: ReactNode;
header?: ReactNode;
footer?: ReactNode;
};
/**
*
* Use this component inside <form></form> tag
*
*/
export declare const FormContainer: ({ iconComponent, title, titleAlign, description, descriptionAlign, className, style, children, header, footer, ...restProps }: FormContainerProps) => React.JSX.Element;