UNPKG

338 BTypeScriptView Raw
1/// <reference types="react" />
2/**
3 * A React context for sharing the `selected` state of an element.
4 */
5export declare const SelectedContext: import("react").Context<boolean>;
6/**
7 * Get the current `selected` state of an element.
8 */
9export declare const useSelected: () => boolean;
10//# sourceMappingURL=use-selected.d.ts.map
\No newline at end of file