@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
16 lines • 782 B
TypeScript
/// <reference types="react" />
import { GridProps } from '../grid/interfaces';
interface FormFieldIds {
label?: string;
description?: string;
constraint?: string;
error?: string;
warning?: string;
}
export declare function getSlotIds(formFieldId: string, label?: React.ReactNode, description?: React.ReactNode, constraintText?: React.ReactNode, errorText?: React.ReactNode, warningText?: React.ReactNode): FormFieldIds;
export declare function getAriaDescribedBy({ error, warning, description, constraint }: FormFieldIds): string | undefined;
export declare function getGridDefinition(stretch: boolean, secondaryControlPresent: boolean, isRefresh: boolean): {
colspan: GridProps.BreakpointMapping | number;
}[];
export {};
//# sourceMappingURL=util.d.ts.map