React Native Hero Design

Hero design system for EH mobile app

Installation

Via yarn

yarn add rn-hero-design

It also require peer dependencies like react and react-native. Please follow the yarn install instruction for the right versions.

Usage

The components and helpers are exported via named module.

import { Button, injectTheme } from 'rn-hero-design'

For more details, view the documentation

Playground app

Checkout the playground app here, which contains the list of components, their sample usages and common layouts.

Development

  • Requirements:
    • cocoapods 1.10.0
  • Start the playground bundler
yarn dev
  • Build the lib
yarn lib:watch
  • Start the documentation server
yarn doc:dev

GitHub

https://github.com/Thinkei/rn-hero-designHero design system for EH mobile app