@lemontech/nps-component

component nps for lemontech products

Usage no npm install needed!

<script type="module">
  import lemontechNpsComponent from 'https://cdn.skypack.dev/@lemontech/nps-component';
</script>

README

Lemontech NPS Component

Build Status

Props for NPS Integrations

Connection components for Lemontech products integrations:

Name Required Type DefaultValue Description
theme true Product - 'tbx' 'ttb' 'ct'
user true object - User information { tenant: 'let', name: 'name_user' }
email true string - User email
apiUrl true string - 'http://localhost...'
token true string - '_token_product'
lang false string - Language code (ISO 639-1)
import { Nps } from '@lemontech/nps-component';
import '@lemontech/nps-component/lib/lemontech-nps.css';
<Nps
  apiUrl="http://localhost:3000/"
  theme="tbx"
  token="_TOKEN_"
  email="lemonsurvey@lemontech.com"
  user={{ user: name_user '', tenant: name_tentant '' }}
  lang="es"
  />

License

MIT © Lemontech