@graasp/ui
TypeScript icon, indicating that this package has built-in type declarations

4.17.0 • Public • Published

Graasp UI

React components for the Graasp ecosystem.

GitHub package.json version npm (scoped) GitHub Storybook deployment

Packages
GitHub package.json - react npm peer dependency version GitHub package.json dependency version (prod) - immutable Mui version

Install

npm install --save @graasp/ui

If you use the Table component, you should import it with the lines below:

import { Table } from '@graasp/ui/dist/table';
import 'ag-grid-community/dist/styles/ag-theme-material.min.css';

Usage

import React, { Component } from 'react'

import MyComponent from '@graasp/ui'
import '@graasp/ui/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}

Storybook Storybook

Storybook provides a nice display of defined UI components. To open the framework, run

yarn storybook

To navigate the UI components click the link bellow:

License

AGPL-3.0 © Graasp Association

Readme

Keywords

none

Package Sidebar

Install

npm i @graasp/ui

Weekly Downloads

2,706

Version

4.17.0

License

AGPL-3.0-only

Unpacked Size

3.53 MB

Total Files

183

Last publish

Collaborators

  • dialexo
  • spaenleh
  • juancarlosfarah
  • pyphilia