0.0.0 • Published 3 years ago

aha-ui v0.0.0

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

@aha-aln/aha-ui

The @aha-aln/aha-ui is a collection of React UI components for quickly building user interfaces at Ahamove. Let’s get you oriented with what’s here and how to use it.

Installation

To install the Antoree UI Framework into an existing project, use the yarn CLI

yarn add @aha-aln/aha-ui

Note that @aha-aln/aha-ui has several peerDependencies requirements that will also need to be installed if starting with a blank project. You can read more about other ways to consume Ahamove UI.

yarn add react react-dom react-router-dom

Usage

Most of the time, you just need the compiled CSS, which provides the styling for the React components, see here.

import '@aha-aln/aha-ui/dist/aha-ui.css';

or import into your globals css file

@import '~@aha-aln/aha-ui/dist/aha-ui.css';

✨ Contributing

Create new component base on Ant Design

In your terminal run this script:

yarn workspace @aha-aln/aha-ui code-gen

After that type a component name from Antd. The new Antd component will re-export for you.

Don't forget rebuild @aha-aln/aha-ui for consume new component:

yarn workspace @aha-aln/aha-ui build

Or start development mode with:

yarn workspace @aha-aln/aha-ui start