Skip to content

Commit 6c25b16

Browse files
committed
Trivial corrections
1 parent 1382ee1 commit 6c25b16

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ This Hook is designed for load https://apis.google.com/js/api.js, initialize Goo
113113

114114
#### Arguments
115115

116-
`initConf: object`: object for Initialize the [gapi.client.init(args)](https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiclientinitargs).
116+
- `initConf: object`: object for Initialize the [gapi.client.init(args)](https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiclientinitargs).
117117

118118
#### Returns
119119

@@ -132,12 +132,10 @@ Return the status of DYMO Label Web Service
132132

133133
#### Arguments
134134

135-
`port: number`:(OPTIONAL) The port of running DYMO Label Web Service.
135+
- `port: number`:(OPTIONAL) The port of running DYMO Label Web Service.
136136

137137
#### Returns
138138

139-
Array containing:
140-
141139
- `status: string`: `"init"`: `"init" | "loading" | "success" | "error"` Status of DYMO Label Web Service.
142140

143141
### `useDymoFetchPrinters()`
@@ -146,33 +144,34 @@ Returns the available DYMO Labelwriter Printer
146144

147145
#### Arguments
148146

149-
`port: number`: The port of running DYMO Label Web Service.
150-
`statusDymoService: string`: The status of DYMO Label Web Service.
147+
- `statusDymoService: string`: The status of DYMO Label Web Service.
148+
- `modelPrinter: string`: The model of label writer printer.
149+
- `port: number`: The port of running DYMO Label Web Service.
151150

152151
#### Returns
153152

154-
Array containing:
153+
Object containing:
155154

156-
- `printers: array`: `[]` The list of available DYMO Labelwriter Printer.
157-
- `status: string`: `"init"`: `"init" | "loading" | "success" | "error"` Status of loading printers.
155+
- `statusDymoFetchPrinters: string`: `"init"`: `"init" | "loading" | "success" | "error"` Status of loading printers.
156+
- `printers: array`: `[]` The list of available DYMO Printer.
158157

159158
### `useDymoOpenLabel()`
160159

161160
Render Label
162161

163162
#### Arguments
164163

165-
`statusDymoService: string`: The status of DYMO Label Web Service.
166-
`labelXML: xml file`: XML file.
167-
`port: number`:(OPTIONAL) The port of running DYMO Label Web Service.
164+
- `statusDymoService: string`: The status of DYMO Label Web Service.
165+
- `labelXML: xml file`: XML file.
166+
- `port: number`:(OPTIONAL) The port of running DYMO Label Web Service.
168167

169168
#### Returns
170169

171170
Object containing:
172171

173-
- `label`:
172+
- `label`
174173
- `statusOpenLabel: string`: `"init"`: `"init" | "loading" | "success" | "error"` Status of render label.
175-
- `errorOpenLabel:`
174+
- `errorOpenLabel`
176175

177176
#### Example
178177

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-hooks-toolbox",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "React hooks toolbox",
55
"main": "lib/index.js",
66
"module": "es/index.js",

0 commit comments

Comments
 (0)