1.0.2 • Published 5 years ago

react-satisfactor-web-integration v1.0.2

Weekly downloads
23
License
MIT
Repository
github
Last release
5 years ago

react-satisfactor-web-integration

This package helps you integrate the satisfaction survey into any website implemented in react

NPM JavaScript Style Guide

Install

npm install --save react-satisfactor-web-integration

Usage

import React, { Component } from 'react'

import { Satisfactor, UserSurvey } from 'react-satisfactor-web-integration'

class Example extends Component {
  render () {
    const userSurvey = new UserSurvey({
      id: 589746,
      name: 'Testing Test',
      email: 'test@satisfactor.com',
      cellPhone: null,
      company: null,
    });
    return (
      <div>
        <Satisfactor projectToken='ybpK2y8bLaGaVRRuGfm3hP7nrRPzB6PX' userSurvey={userSurvey} />
      </div>
    )
  }
}

License

MIT ©

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago