Install the package using npm or yarn
yarn add @andikhadian/component-library
or
npm install @andikhadian/component-library
Run storybook
npm run storybook
Run the Unit tests
npm run test
import { Button } from "@andikhadian/component-library";
const App = () => {
return (
<div>
<Button>Hello Button</Button>
</div>
);
};
export default App;
Chrome | Firefox | Microsoft Edge | Opera | Safari |
For more thorough examples and the API details visit the storybook
Contributions, ideas and PR's are welcome!
- Fork it
- Create your feature branch (
git checkout -b new-feature
) - Commit your changes (
git commit -am 'Add feature'
) - Push to the branch (
git push origin new-feature
) - Create a new Pull Request