Skip to content

useTextSelection ​

Category
Sensors

Hook that manages the text selection

typescript
import { useTextSelection } from '@siberiacancode/reactuse';

Usage ​

typescript
const selection = useTextSelection();

Demo ​

Api ​

Contributors ​

Source • Demo