@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
16 lines • 538 B
TypeScript
/**
* Adds the necessary props to a `Hint` component.
* Used by the FormField.Hint subcomponent and other input type components
*/
export declare const useFormFieldHint: import("@workday/canvas-kit-react/common").BehaviorHook<{
state: {
id: string;
error: "error" | "alert" | undefined;
isRequired: boolean;
orientation: "horizontal" | "vertical" | "horizontalEnd" | "horizontalStart";
};
events: {};
}, {
readonly id: `hint-${string}`;
}>;
//# sourceMappingURL=useFormFieldHint.d.ts.map