Skip to content

Instantly share code, notes, and snippets.

Kenny Dits @kenny_dee kennydee

Block or report user

Report or block kennydee

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kennydee
kennydee / styled.js
Created May 23, 2017
Styled component without styled components for React Native
View styled.js
import React, { PropTypes } from 'react';
import * as theme from '../theme';
const styled = (Component, styler) => props => {
const propsWithTheme = { ...props, theme };
const style = typeof styler === 'function' ? styler(propsWithTheme) : styler;
// React doesn't support "forwarding" ref for now
if (propsWithTheme.innerRef) {
@kennydee
kennydee / Fastfile
Last active Sep 23, 2018
Fastfile for staging environment with Appetize.io on React Native (iOs & Android), with statuses update on Github Enterprise
View Fastfile
require 'httparty'
fastlane_version "1.95.0"
default_platform :ios
before_all do
# put here your token and iOs scheme app
ENV["GITHUB_TOKEN"] = "---"
ENV["APPETIZE_TOKEN"] = "---"
ENV["APP_IOS_SCHEME"] = "---"
You can’t perform that action at this time.