@@ -4,204 +4,204 @@ declare module 'react-native-progress' {
44
55 /**
66 * Properties for all `Progress` components.
7- *
7+ *
88 * @export
9- * @interface DetaultPropTypes
9+ * @interface DefaultPropTypes
1010 * @extends {ViewProperties }
1111 */
12- export interface DetaultPropTypes extends ViewProperties {
12+ export interface DefaultPropTypes extends ViewProperties {
1313 /**
1414 * Whether or not to animate changes to progress.
15- *
15+ *
1616 * @type {boolean }
17- * @memberof DetaultPropTypes
17+ * @memberof DefaultPropTypes
1818 * @default true
1919 */
2020 animated ?: boolean
21-
21+
2222 /**
2323 * If set to true, the indicator will spin and progress prop will be ignored.
24- *
24+ *
2525 * @type {boolean }
26- * @memberof DetaultPropTypes
26+ * @memberof DefaultPropTypes
2727 * @default false
2828 */
2929 indeterminate ?: boolean
30-
30+
3131 /**
3232 * Progress of whatever the indicator is indicating. A number between `0` and `1`
33- *
33+ *
3434 * @type {(0 | 1) }
35- * @memberof DetaultPropTypes
35+ * @memberof DefaultPropTypes
3636 * @default 0
3737 */
3838 progress ?: number
39-
39+
4040 /**
4141 * Fill color of the indicator.
42- *
42+ *
4343 * @type {string }
44- * @memberof DetaultPropTypes
44+ * @memberof DefaultPropTypes
4545 * @default rgba(0, 122, 255, 1)
4646 */
4747 color ?: string
48-
48+
4949 /**
5050 * Color of the remaining progress.
51- *
51+ *
5252 * @type {string }
53- * @memberof DetaultPropTypes
53+ * @memberof DefaultPropTypes
5454 * @default None
5555 */
5656 unfilledColor ?: string
57-
57+
5858 /**
5959 * Width of outer border, set to `0` to remove.
60- *
60+ *
6161 * @type {number }
62- * @memberof DetaultPropTypes
62+ * @memberof DefaultPropTypes
6363 * @default 1
6464 */
6565 borderWidth ?: number
66-
66+
6767 /**
6868 * Color of outer border.
69- *
69+ *
7070 * @type {string }
71- * @memberof DetaultPropTypes
71+ * @memberof DefaultPropTypes
7272 * @default color
7373 */
7474 borderColor ?: string
7575 }
7676
7777 /**
7878 * Properties for `Bar` components
79- *
79+ *
8080 * @export
8181 * @interface BarPropTypes
82- * @extends {DetaultPropTypes }
82+ * @extends {DefaultPropTypes }
8383 */
84- export interface BarPropTypes extends DetaultPropTypes {
84+ export interface BarPropTypes extends DefaultPropTypes {
8585 /**
8686 * Full width of the progress bar, set to null to use automatic flexbox sizing.
87- *
87+ *
8888 * @type {number }
8989 * @memberof BarPropTypes
9090 * @default 150
9191 */
9292 width ?: number
93-
93+
9494 /**
9595 * Height of the progress bar.
96- *
96+ *
9797 * @type {number }
9898 * @memberof BarPropTypes
9999 * @default 6
100100 */
101101 height ?: number
102-
102+
103103 /**
104104 * Rounding of corners, set to `0` to disable.
105- *
105+ *
106106 * @type {number }
107107 * @memberof BarPropTypes
108108 * @default 4
109109 */
110110 borderRadius ?: number
111-
111+
112112 /**
113113 * Use native driver for the animations.
114- *
114+ *
115115 * @type {boolean }
116116 * @memberof BarPropTypes
117117 * @default false
118118 */
119119 useNativeDriver ?: boolean
120-
120+
121121 /**
122122 * Config that is passed into the Animated function
123- *
123+ *
124124 * @type {{} }
125125 * @memberof BarPropTypes
126126 * @default { bounciness: 0 }
127127 */
128128 animationConfig ?: { }
129-
129+
130130 /**
131131 * Animation type to animate the progress, one of: `decay`, `timing`, `spring`
132- *
132+ *
133133 * @type {('decay' | 'timing' | 'spring') }
134134 * @memberof BarPropTypes
135135 * @default spring
136136 */
137137 animationType ?: 'decay' | 'timing' | 'spring'
138138 }
139-
139+
140140 /**
141141 * Properties for `Circle` components
142- *
142+ *
143143 * @export
144144 * @interface CirclePropTypes
145- * @extends {DetaultPropTypes }
145+ * @extends {DefaultPropTypes }
146146 */
147- export interface CirclePropTypes extends DetaultPropTypes {
147+ export interface CirclePropTypes extends DefaultPropTypes {
148148
149149 /**
150150 * Diameter of the circle.
151- *
151+ *
152152 * @type {number }
153153 * @memberof CirclePropTypes
154154 * @default 40
155155 */
156156 size ?: number
157-
157+
158158 /**
159159 * Thickness of the inner circle.
160- *
160+ *
161161 * @type {number }
162162 * @memberof CirclePropTypes
163163 * @default 3
164164 */
165165 thickness ?: number
166-
166+
167167 /**
168168 * Whether or not to show a text representation of current progress.
169- *
169+ *
170170 * @type {boolean }
171171 * @memberof CirclePropTypes
172172 * @default false
173173 */
174174 showsText ?: boolean
175-
175+
176176 /**
177177 * A function returning a string to be displayed for the textual representation.
178- *
178+ *
179179 * @memberof CirclePropTypes
180180 * @default See source
181181 */
182182 formatText ?: ( progress : number ) => void
183-
183+
184184 /**
185185 * Styles for progress text, defaults to a same `color` as circle and `fontSize` proportional to `size` prop.
186- *
186+ *
187187 * @type {string }
188188 * @memberof CirclePropTypes
189189 * @default None
190190 */
191191 textStyle ?: string
192-
192+
193193 /**
194194 * Direction of the circle `clockwise` or `counter-clockwise`.
195- *
195+ *
196196 * @type {('clockwise' | 'counter-clockwise') }
197197 * @memberof CirclePropTypes
198198 * @default clockwise
199199 */
200200 direction ?: 'clockwise' | 'counter-clockwise'
201-
201+
202202 /**
203203 * Stroke Cap style for the circle `butt`, `square` or `round`.
204- *
204+ *
205205 * @type {('butt' | 'square' | 'round') }
206206 * @memberof CirclePropTypes
207207 * @default butt
@@ -211,15 +211,15 @@ declare module 'react-native-progress' {
211211
212212 /**
213213 * Properties for `PiePropTypes` components
214- *
214+ *
215215 * @export
216216 * @interface PiePropTypes
217- * @extends {DetaultPropTypes }
217+ * @extends {DefaultPropTypes }
218218 */
219- export interface PiePropTypes extends DetaultPropTypes {
219+ export interface PiePropTypes extends DefaultPropTypes {
220220 /**
221221 * Diameter of the pie.
222- *
222+ *
223223 * @type {number }
224224 * @memberof PiePropTypes
225225 * @default 40
@@ -229,33 +229,33 @@ declare module 'react-native-progress' {
229229
230230 /**
231231 * Properties for `CircleSnailPropTypes` components
232- *
232+ *
233233 * @export
234234 * @interface CircleSnailPropTypes
235- * @extends {DetaultPropTypes }
235+ * @extends {DefaultPropTypes }
236236 */
237- export interface CircleSnailPropTypes extends DetaultPropTypes {
237+ export interface CircleSnailPropTypes extends DefaultPropTypes {
238238 /**
239239 * If the circle should animate.
240- *
240+ *
241241 * @type {boolean }
242242 * @memberof CircleSnailPropTypes
243243 * @default true
244244 */
245- animating : boolean
245+ animating ? : boolean
246246
247247 /**
248248 * If the circle should be removed when not animating.
249- *
249+ *
250250 * @type {boolean }
251251 * @memberof CircleSnailPropTypes
252252 * @default true
253- */
254- hidesWhenStopped : boolean
253+ */
254+ hidesWhenStopped ? : boolean
255255
256256 /**
257257 * Diameter of the circle.
258- *
258+ *
259259 * @type {number }
260260 * @memberof CircleSnailPropTypes
261261 * @default 40
@@ -264,16 +264,16 @@ declare module 'react-native-progress' {
264264
265265 /**
266266 * Color of the circle, use an array of colors for rainbow effect.
267- *
267+ *
268268 * @type {string }
269269 * @memberof CircleSnailPropTypes
270270 * @default rgba(0, 122, 255, 1)
271271 */
272- color : string
272+ color ? : string
273273
274274 /**
275275 * Thickness of the circle.
276- *
276+ *
277277 * @type {number }
278278 * @memberof CircleSnailPropTypes
279279 * @default 3
@@ -282,30 +282,30 @@ declare module 'react-native-progress' {
282282
283283 /**
284284 * Duration of animation.
285- *
285+ *
286286 * @type {number }
287287 * @memberof CircleSnailPropTypes
288288 * @default 1000
289289 */
290- duration : number
290+ duration ? : number
291291
292292 /**
293293 * Duration of spin (orbit) animation.
294- *
294+ *
295295 * @type {number }
296296 * @memberof CircleSnailPropTypes
297297 * @default 5000
298298 */
299- spinDuration : number
299+ spinDuration ? : number
300300
301301 /**
302302 * Stroke Cap style for the circle `butt`, `square` or `round`
303- *
303+ *
304304 * @type {('butt' | 'square' | 'round') }
305305 * @memberof CircleSnailPropTypes
306306 * @default round
307307 */
308- strokeCap : 'butt' | 'square' | 'round'
308+ strokeCap ? : 'butt' | 'square' | 'round'
309309 }
310310
311311 export class Bar extends React . Component < BarPropTypes > { }
0 commit comments