component nps for lemontech products
npm install @lemontech/nps-componentConnection 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) |
``javascript`
import { Nps } from '@lemontech/nps-component';
import '@lemontech/nps-component/lib/lemontech-nps.css';
`html``
theme="tbx"
token="_TOKEN_"
email="lemonsurvey@lemontech.com"
user={{ user: name_user '', tenant: name_tentant '' }}
lang="es"
/>
MIT © Lemontech