@lemontech/nps-component
v0.5.1
Published
component nps for lemontech products
Downloads
13
Readme
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' }
|
| 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="[email protected]"
user={{ user: name_user '', tenant: name_tentant '' }}
lang="es"
/>
License
MIT © Lemontech