0.0.6 • Published 1 year ago
air-design-system v0.0.6
Getting Started with Common Desing System library
Install node modules via
npm install
Start Storybook on web
npm run start
Start Storybook on ios simulator
npm run ios
Start Storybook on android emulator
npm run android
Build package via
npm run build:native
Use locally with "yalc
", install yalc
if not present
sudo npm i -g yalc
Publish @airtel/air-design-system
package locally via
yalc publish
To reflect new changes in other repos run following
yalc push
Usage
in other repo
yalc add @airtel/air-design-system
import { AppBtn } from "@airtel/air-design-system";
import React from "react";
import { SafeAreaView } from "react-native-safe-area-context";
const Shifting = (props: any) => {
return (
<SafeAreaView>
<AppBtn />
</SafeAreaView>
);
};
export default Shifting;