Lemontech NPS Component
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' }
|
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