docs(zbar): fix import and usage (#1467)

* docs(zbar): fixed import and usage

* Update index.ts

* Update index.ts
This commit is contained in:
Daniel Sogl 2017-05-05 20:19:31 +02:00 committed by Ibby Hadeed
parent 8a445e9a31
commit 94bd82097c

View File

@ -44,18 +44,18 @@ export interface ZBarOptions {
*
* @usage
* ```typescript
* import { ZBar, ZBarOptions } from '@ionic-native/z-bar';
* import { ZBar, ZBarOptions } from '@ionic-native/zbar';
*
* constructor(private zbar: ZBar) { }
*
* ...
*
* let ZBarOptions = {
* let options: ZBarOptions = {
* flash: 'off',
* drawSight: false
* };
*
* this.zbar.scan(zBarOptions)
* this.zbar.scan(options)
* .then(result => {
* console.log(result); // Scanned code
* })