1.1.0 • Published 8 years ago
react-slaask v1.1.0
React Slaask
Installation
$ npm install react-slaask --saveOnce your package is installed, you have to import Slaask in your app.
import Slaask from 'react-slaask'Then, just add the Slaask component in the render() function.
render() {
return (
<div className="App">
...
<Slaask widgetKey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
</div>
);
}Replace the xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx by your Widget key (click here to find your widget key), and you're done!