vitra-web-trans
v1.0.14
Published
Vitra Translation on Fly
Downloads
20
Maintainers
Readme
Vitra Web Translator
A website translation tool from Vitra.ai
Installation
Install with npm
npm install vitra-web-trans
Usage/Examples
import { VitraWebTranslator } from 'vitra-web-trans'
import 'vitra-web-trans/dist/esm/components/styles.css'
function App() {
return (
<VitraWebTranslator
apiKey='vitra.VjopflOAtjF9coT7U3_*********_*'
float={true}
position='bottom-right'
/>
)
}
Props
| Prop | Type | Required | Description | Possible Values | Default |
| -------- | ------- | -------- | ------------------------------------------------------------ | --------------------------------------------------------- | ------------- |
| apiKey | string | Yes | API Key generated from Vitra Web Translator
site | API KEY | null |
| float | boolean | No | Language selector dropdown position property | true | false | true |
| position | string | No | Position of the language selector dropdown if it is floating | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'bottom-left' |
Support
For support, email [email protected].