@agilekit/ui
v0.0.480-alpha.0
Published
Agile's product component library
Downloads
1,031
Keywords
Readme
AgileKit UI
AgileKit UI is a React component library designed to help developers create the best experience for Agile products.
Using the React components
Installation
Run the following command using npm:
npm install @agilekit/ui --save
If you prefer Yarn, use the following command instead:
yarn add @agilekit/ui
Usage
- Include any of the provided components in your project:
import { Button, Page, Card, TableList } from '@agilekit/ui';
- Tell React to render the element in the DOM:
ReactDOM.render(
<AppProvider>
<Page title="My App">
<Card sectioned>
<Button onClick={() => alert('Hey clicked!')}>button sample</Button>
</Card>
</Page>
</AppProvider>,
document.querySelector('#root'),
);