Skip to content

Instantly share code, notes, and snippets.

@yarigpopov
Created October 11, 2021 17:07
Show Gist options
  • Save yarigpopov/0af6880f8a9eea3deb4f02de78c08e47 to your computer and use it in GitHub Desktop.
Save yarigpopov/0af6880f8a9eea3deb4f02de78c08e47 to your computer and use it in GitHub Desktop.
const RadioImageFormContext = React.createContext({
currentValue: '',
defaultValue: undefined,
onChange: () => { },
});
RadioImageFormContext.displayName = 'RadioImageForm';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment