@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
29 lines • 1.08 kB
TypeScript
import { CSProps } from '@workday/canvas-kit-styling';
export interface FormFieldGroupInputProps extends CSProps {
}
/**
* Adds the necessary props to an `Input` component for grouped inputs.
*/
export declare const useFormFieldGroupInput: import("@workday/canvas-kit-react/common").BehaviorHook<{
state: {
id: string;
error: "error" | "alert" | undefined;
isRequired: boolean;
orientation: "horizontal" | "vertical" | "horizontalEnd" | "horizontalStart";
};
events: {};
}, {
readonly 'aria-invalid': true | undefined;
readonly 'aria-describedby': string | undefined;
readonly 'aria-required': true | undefined;
}>;
export declare const FormFieldGroupInput: import("@workday/canvas-kit-react/common").ElementComponentM<"input", FormFieldGroupInputProps, {
state: {
id: string;
error: "error" | "alert" | undefined;
isRequired: boolean;
orientation: "horizontal" | "vertical" | "horizontalEnd" | "horizontalStart";
};
events: {};
}>;
//# sourceMappingURL=FormFieldGroupInput.d.ts.map