Created
August 6, 2016 17:01
-
-
Save mikeyamadeo/654f0d218ecdc589f5405eb7984f50a5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the implementation of
react-ditto
here? I can't seem to tell what it's doing, but it looks neat.