1.0.7 • Published 4 years ago
@mediaplatform/widget-footer v1.0.7
Widget - Component library description and how to use it
// TBD
Installation
npm i @mediaplatform/widget-name --save
Usage
- Bind it to the project without initial options.
import SimpleDemoComponent from '@mediaplatform/widget-name';
...
render () {
return (
<SimpleDemoComponent />
)
}
- Bind the component with initial options.
import SimpleDemoComponent from '@mediaplatform/widget-player-profile';
...
render () {
return (
<SimpleDemoComponent options={{...}} />
)
}
- The optional "options" attribute:
{
...
}
Testing
// TODO Add JEST support