UNPKG

@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

18 lines 573 B
export declare const useExpandableContent: 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 style: { display?: undefined; } | { display: string; }; readonly id: string; }>; //# sourceMappingURL=useExpandableContent.d.ts.map