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

15 lines (14 loc) 699 B
import { GridProps } from '../grid'; interface FormFieldIds { label?: string; description?: string; constraint?: string; error?: string; } export declare function getSlotIds(formFieldId: string, label?: React.ReactNode, description?: React.ReactNode, constraintText?: React.ReactNode, errorText?: React.ReactNode): FormFieldIds; export declare function getAriaDescribedBy({ error, description, constraint }: FormFieldIds): string | undefined; export declare function getGridDefinition(stretch: boolean, secondaryControlPresent: boolean): { colspan: GridProps.BreakpointMapping; }[]; export declare const joinStrings: (...strings: Array<string | undefined>) => string; export {};