Skip to content

Instantly share code, notes, and snippets.

@merictaze
Created September 8, 2019 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save merictaze/f80a01148cbaf9a960f8984c1150fce4 to your computer and use it in GitHub Desktop.
Save merictaze/f80a01148cbaf9a960f8984c1150fce4 to your computer and use it in GitHub Desktop.
const CheckInput = props => (
<Fragment>
{props.options.map(option => (
<label key={option.value}>
<input {...extractInputProps(props, option)} />
{option.label || option.value}
</label>
))}
</Fragment>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment