3.1.1 • Published 2 years ago

@tribeplatform/react-ui-kit v3.1.1

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
2 years ago

@tribeplatform/react-ui-kit

UI component library that is used to develop Tribe Community Platform

Getting Started

  1. Install the package.
$ yarn add @tribeplatform/react-ui-kit
  1. Import the stylesheet into the porject entry files
// App.js
import '@tribeplatform/react-ui-kit/styles'

Webpack Users

If Webpack is unable to compile the project, try adding the following option to webpack configurations:

webpackConfig.module.rules.push({
  test: /\.m?js$/,
  type: 'javascript/auto',
  resolve: {
    fullySpecified: false,
  },
})

This is a known issue with Webpack and build tools that wrap around Webpack, such as Create React App and Razzle.

Contributing to the Project

Start the storybook with:

$ yarn dev