0.0.4 • Published 8 months ago

react-pilot-uikit v0.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

List of Components

(https://native-pilot-ui.netlify.app)

To run on the web use

yarn storybook

To run on ios

yarn ios

To run on android

yarn android

Auto Update Story

yarn update-stories

Installation

In your project root folder run the following command

yarn add native-pilot-ui

or

npm i native-pilot-ui

Usage

In your project entry point make sure you have added the theme provider

import React from "react";
import { ThemeProvider } from "native-pilot-ui";

const Main = () => {
  return (
    <ThemeProvider theme={"app"}>
      <MainRoutes />
    </ThemeProvider>
  );
};

export default Main;

Example usage of component

import { Button } from "native-pilot-ui";

const Example = () => {
  return (
    <Button onClick={() => console.log("button clicked")}>click here</Button>
  );
};

The uikit is type annotated so that you can easily find all the available options for themes. Some of the Theme options are

  • app
  • drug
  • church
0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago