Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Base64Png Editor Invert Tweaker
const [invert, setInvert] = useState("0");
const tweakInvert = useCallback((value: string) => {
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