Skip to content

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

Notifications You must be signed in to change notification settings

serrano90/react-satisfactor-web-integration

Repository files navigation

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 ©

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published