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
| name: 'Chromatic' | |
| on: [push, workflow_dispatch] | |
| jobs: | |
| chromatic-deployment: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
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 React, { Component } from 'react' | |
| class Home extends Component { | |
| constructor(){ | |
| super() | |
| this.state = { | |
| username: '', | |
| password: '' | |
| } | |
| } |
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 React, { Component } from 'react' | |
| class Home extends Component { | |
| constructor(){ | |
| super() | |
| this.state = { | |
| username: '', | |
| password: '' | |
| } | |
| } |
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 React, { Component } from 'react' | |
| import ReactDOM from 'react-dom' | |
| import store from './stores' | |
| import { Provider } from 'react-redux' | |
| import { Home } from './components/containers' | |
| const app = ( | |
| <Provider store={store.configure(null)}> | |
| <Home /> | |
| </Provider> |
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 React, { Component } from 'react' | |
| class Home extends Component { | |
| render(){ | |
| return( | |
| <div> | |
| Home Component | |
| </div> | |
| ) |
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
| /* * * * * * * * * * * * * * * * * * * * * * * * * * * | |
| Export your container components here. The Users | |
| container is just an example and you will likely | |
| remove it in favor of your own containers. | |
| * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
| */ | |
| import Home from './Home' | |
| export { |
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 npm packages here | |
| var superagent = require('superagent') | |
| var twilio = require('twilio') | |
| // define your functions here: | |
| module.exports = { | |
| sms: (req, res) => { | |
| if (req.query.message == null){ | |
| res.json({ | |
| confirmation: 'fail', |
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
| /node_modules/ | |
| /dist/ | |
| DOCUMENTATION.md | |
| .DS_Store |
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 React, { Component } from 'react' | |
| import { View, StyleSheet, Text, FlatList, TouchableOpacity, Modal, TextInput } from 'react-native' | |
| import { AddMessage } from '../presentation' | |
| import Turbo from 'turbo360' | |
| import config from '../../config' | |
| class Messages extends Component{ | |
| constructor(){ | |
| super() |
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 React, { Component } from 'react' | |
| import { View, StyleSheet, Text, FlatList, TouchableOpacity, Modal, TextInput } from 'react-native' | |
| import { AddMessage } from '../presentation' | |
| import Turbo from 'turbo360' | |
| import config from '../../config' | |
| class Messages extends Component{ | |
| constructor(){ | |
| ... |
NewerOlder