Last active
October 14, 2020 21:09
-
-
Save ljmotta/16459e46461ea2d6ac970089a07c82d1 to your computer and use it in GitHub Desktop.
Base64Png Editor Invert Tweaker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const [invert, setInvert] = useState("0"); | |
const tweakInvert = useCallback((value: string) => { | |
setInvert(value); | |
props.envelopeContext.channelApi.notifications.receive_newEdit({ id: new Date().getTime().toString() }); | |
}, [invert]); | |
const [disabled, setDisabled] = useState(true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment