3

Hero design system for EH mobile app

 3 years ago
source link: https://reactnativeexample.com/hero-design-system-for-eh-mobile-app/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK