Introduction
Learn how to include Design System in your project
Installation
The best way to consume Design System is via the npm package which
you can install with npm
(or yarn
if you prefer).
npm install --save @ahaui/react @ahaui/css
or
yarn add @ahaui/react @ahaui/css
Stylesheets
And also should import Stylesheets is required to use these components.
{/* The following line can be included in your src/index.js or App.js file*/} import '@ahaui/css/dist/index.min.css';
Importing
You should import individual components like:
import { Button } from '@ahaui/react';