Dear all Github friends,
I moved this gist to the Github repository.
Following this repository https://github.com/nijicha/install_nodejs_and_yarn_homebrew
Disclaimer: The instructions are the collective efforts from a few places online. | |
Nothing here is my original. But I want to put them together in one place to save people from spending the same time as I did. | |
First off, bundle. | |
================== | |
1. cd to the project directory | |
2. Start the react-native packager if not started | |
3. Download the bundle to the asset folder: | |
curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle" |
Dear all Github friends,
I moved this gist to the Github repository.
Following this repository https://github.com/nijicha/install_nodejs_and_yarn_homebrew
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import "babel-polyfill"; | |
const App = ()=> { | |
return <h1>I'm an app</h1> | |
} | |
const init = () => { | |
ReactDOM.render(<App />, document.getElementById("reactApp")); |
import React from 'react' | |
import { Checkbox } from '@shopify/polaris' | |
export default function CheckboxAdapter({ input, meta, ...rest }) { | |
return ( | |
<Checkbox | |
{...input} | |
{...rest} | |
error={meta.touched && meta.error} | |
onChange={(value) => { |