UNPKG

@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

16 lines (15 loc) 605 B
export interface FormFieldControlProps { controlId?: string; ariaLabelledby?: string; ariaDescribedby?: string; } export interface FormFieldValidationControlProps extends FormFieldControlProps { invalid?: boolean; } export declare const FormFieldDomContext: import("../hooks/dom-context").DomContextDeclaration<FormFieldValidationControlProps>; export declare function useFormFieldContext(props: FormFieldValidationControlProps): { invalid?: boolean | undefined; controlId?: string | undefined; ariaLabelledby?: string | undefined; ariaDescribedby?: string | undefined; };