aha-ui v0.0.0
@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-uiNote 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-domUsage
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-genAfter 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 buildOr start development mode with:
yarn workspace @aha-aln/aha-ui start4 years ago