useEyeDropper ​
Hook that gives you access to the eye dropper
typescript
import { useEyeDropper } from '@siberiacancode/reactuse';
Usage ​
typescript
const { supported, value, open } = useEyeDropper();
Demo ​
Api ​
Parameters
Name | Type | Default | Note |
---|---|---|---|
initialValue? | string | undefined | The initial value for the eye dropper |