1.0.5 • Published 6 years ago
jp-hello-world v1.0.5
An easy way to add Muut UI into your react application.
Install
npm install muut-ui-react
Usage
import React, { Component } from 'react';
import MuutReactWidget from 'muut-ui-react'
class MuutUi extends Component {
render () {
return <MuutReactWidget forumName="goma" language="en" />
}
}
export default MuutUi;
or
import React from 'react'
import MuutReactWidget from 'muut-ui-react'
const MuutUi = () => (
<MuutReactWidget forumName="goma" language="fr" />
)
export default MuutUi
Props
Name | Type | Required? | Default Value | Description |
---|---|---|---|---|
forumName | String | Yes | Your community/forum name. | |
language | String | No | en | Your language code. Click here for the list of available language codes. |