I hereby claim:
- I am dantman on github.
- I am dantman (https://keybase.io/dantman) on keybase.
- I have a public key ASC7jATCYRenYm-biehrUI-OGVElMbPiszWhH5-jXsJ6jQo
To claim this, I am signing this object:
| <span class=""><span class="pl-k" style="box-sizing:border-box;color:#d73a49;" >export</span> <span class="pl-k" style="box-sizing:border-box;color:#d73a49;" >const</span> <span class="pl-c1" style="box-sizing:border-box;color:#005cc5;" >styles</span> <span class="pl-k" style="box-sizing:border-box;color:#d73a49;" >=</span> <span class="pl-smi" style="box-sizing:border-box;color:#24292e;" >theme</span> <span class="pl-k" style="box-sizing:border-box;color:#d73a49;" >=></span> ({</span><br> | |
| <span class=""> root<span class="pl-k" style="box-sizing:border-box;color:#d73a49;" >:</span> {</span><br> | |
| <span class="yes" style="background-color:#81A594;" > display<span class="pl-k" style="box-sizing:border-box;color:#d73a49;" >:</span> <span class="pl-s" style="box-sizing:border-box;color:#032f62;" ><span class="pl-pds" style="box-sizing:border-box;color:#032f62;" >'</span>flex<span class="pl-pds" style="box-sizing:border-box;color:#032f62;" >'</span></span>,</span><br> | |
| <span class="yes" style |
I hereby claim:
To claim this, I am signing this object:
| using VRUB; | |
| [ExposedClass] | |
| class PersistentStore : ExposedClass { // base class could use a different name | |
| Dictionary<string, string> _temporaryStore = new Dictionary<string, string>(); | |
| Dictionary<string, string> _persistentStore = new Dictionary<string, string>(); | |
| [ExposedMethod] | |
| public string Get(string key, bool temporary = false) { |
| render() { | |
| const {styles, onLogout} = this; | |
| const {onOverlayStateChanged} = this; | |
| const {materialTheme, sections: rawSections, navigation, screenProps: {statusBarHeight}, user, activeCompany, company, teams} = this.props; | |
| const {overlayOpen} = this.state; | |
| const sections = navigation.state.routes::groupBy((route) => this._getScreenOptions(route.key).drawerSection); | |
| const {companyList=[]} = user || {}; | |
| const children = []; | |
| let first = true; |
| export default class App extends PureComponent { | |
| state = { | |
| statusBarHeight: Platform.OS === 'android' | |
| ? StatusBar.currentHeight || (Platform.Version < 23 ? 25 : 24) | |
| : 0, | |
| }; | |
| render() { | |
| const {styles} = this; |
Take components from react-native-material-design and react-native-material-kit and create a new library to replace both.
Deciding how to handle ripples will be very important as both do it differently.
rnmd does it using a Ripple polyfill:
| import React, {PureComponent} from 'react'; | |
| import {View} from 'react-native'; | |
| import Styles from './Styles'; | |
| @Styles({ | |
| root: { | |
| // ... | |
| }, | |
| }) | |
| export default class Example extends PureComponent { |
| 'use strict'; | |
| import Promise from 'bluebird'; | |
| import { map, clone } from 'lodash'; | |
| import Client_SQLite3 from 'knex/lib/dialects/sqlite3'; | |
| export default class Client_ReactNativeSqliteStorage extends Client_SQLite3 { | |
| dialect: 'sqlite'; | |
| driverName = 'react-native-sqlite-storage'; | |
| _driver() { |