@audius/stems
v1.5.56
Published
The Audius React component library
Downloads
767
Maintainers
Keywords
Readme
Installation
Install @audius/stems
required peer dependencies:
npm install --save bn.js [email protected] [email protected] [email protected] prop-types react react-dom [email protected]
Then install @audius/stems
npm install --save @audius/stems
Usage
import React from 'react'
import { Button } from '@audius/stems'
import '@audius/stems/dist/stems.css'
const App = () => {
return <Button text='Hello World!' />
}
Optional: You may also wish to include the Avenir font, which is provided as a css file
import '@audius/stems/dist/avenir.css'
Development
Run storybook:
npm run storybook
Run the example app (docs site):
cd example
npm start