Skip to content

Instantly share code, notes, and snippets.

@mikeyamadeo
Created August 6, 2016 17:01
Show Gist options
  • Save mikeyamadeo/654f0d218ecdc589f5405eb7984f50a5 to your computer and use it in GitHub Desktop.
Save mikeyamadeo/654f0d218ecdc589f5405eb7984f50a5 to your computer and use it in GitHub Desktop.
import { ___, X } from 'react-ditto'
import Txt from 'react-txt'
import Btn from 'App/shared/atm.Btn'
import Input from 'App/shared/atm.Input'
const SearchUI = ({inputVal, onInputUpdate, onSearch}) =>
<X x p>
<___ mr1>
<Txt tag='label' color='secondary'>Search</Txt>
<Input value={inputVal} onChange={onInputUpdate} />
</___>
<Btn onClick={onSearch}>Search</Btn>
<X>
@ekosz
Copy link

ekosz commented Aug 12, 2016

What is the implementation of react-ditto here? I can't seem to tell what it's doing, but it looks neat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment