edit-on-slate
Version:
Slate 기반의 직관적이고 강력한 리액트 텍스트 에디터 라이브러리
10 lines • 329 B
TypeScript
/// <reference types="react" />
/**
* A React context for sharing the `selected` state of an element.
*/
export declare const SelectedContext: import("react").Context<boolean>;
/**
* Get the current `selected` state of an element.
*/
export declare const useSelected: () => boolean;
//# sourceMappingURL=use-selected.d.ts.map