@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
22 lines • 1.07 kB
TypeScript
import React from 'react';
import { InternalFormFieldProps } from './interfaces';
interface FormFieldErrorProps {
id?: string;
children?: React.ReactNode;
errorIconAriaLabel?: string;
}
interface FormFieldWarningProps {
id?: string;
children?: React.ReactNode;
warningIconAriaLabel?: string;
}
export declare function FormFieldError({ id, children, errorIconAriaLabel }: FormFieldErrorProps): JSX.Element;
export declare function FormFieldWarning({ id, children, warningIconAriaLabel }: FormFieldWarningProps): JSX.Element;
export declare function ConstraintText({ id, hasValidationText, children, }: {
id?: string;
hasValidationText: boolean;
children: React.ReactNode;
}): JSX.Element;
export default function InternalFormField({ controlId, stretch, label, info, i18nStrings, children, secondaryControl, description, constraintText, errorText, warningText, __hideLabel, __internalRootRef, __disableGutters, __analyticsMetadata, __style, ...rest }: InternalFormFieldProps): JSX.Element;
export {};
//# sourceMappingURL=internal.d.ts.map