@workday/canvas-kit-labs-react
Version:
Canvas Kit Labs is an incubator for new and experimental components. Since we have a rather rigorous process for getting components in at a production level, it can be valuable to make them available earlier while we continuously iterate on the API/functi
15 lines • 587 B
TypeScript
export declare const useExpandableTarget: import("@workday/canvas-kit-react/common").BehaviorHook<{
state: {
id: string;
visibility: "hidden" | "visible";
};
events: {
show(event?: Event | import("react").SyntheticEvent<Element, Event> | undefined): void;
hide(event?: Event | import("react").SyntheticEvent<Element, Event> | undefined): void;
};
}, {
readonly 'aria-controls': string;
readonly 'aria-expanded': boolean;
readonly onClick: (event: React.MouseEvent) => void;
}>;
//# sourceMappingURL=useExpandableTarget.d.ts.map