uikit library for react native projects that uses typescripts
npm install native-pilot-ui```
yarn storybook
``
yarn ios
``
yarn androidAuto Update Story
`sh`
yarn update-storiesInstallation
In your project root folder run the following command
`sh`
yarn add native-pilot-ui
or
`sh`
npm i native-pilot-ui
In your project entry point make sure you have added the theme provider
`js
import React from 'react';
import { ThemeProvider } from 'native-pilot-ui';
const Main = () => {
return (
);
};
export default Main;
`
`js
import { Button } from 'native-pilot-ui';
const Example = () => {
return (
)
}
``
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