1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import React from 'react'; import Search from './components/presentational/Search'; const App = () => ( <div> <Search onInput={() => {}} results={[ { type: 's', name: '18561' }, ]} /> </div> ); export default App;