@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
15 lines (14 loc) • 508 B
TypeScript
import React from 'react';
import { BaseComponentProps } from '../internal/base-component';
export interface FormFieldProps extends BaseComponentProps {
controlId?: string;
stretch?: boolean;
label?: React.ReactNode;
info?: React.ReactNode;
children?: React.ReactNode;
secondaryControl?: React.ReactNode;
description?: React.ReactNode;
constraintText?: React.ReactNode;
errorText?: React.ReactNode;
}
export default function FormField(props: FormFieldProps): JSX.Element;