📝 :: Added type to parameters

This commit is contained in:
Felix Mau
2019-09-02 11:16:21 +02:00
parent a3e555032c
commit 925aad6b9a
+2 -2
View File
@@ -75,10 +75,10 @@ let gradientLoadingBar = GradientLoadingBar(
)
```
###### Parameter `height`
###### Parameter `height: CGFloat`
By setting this parameter you can set the height for the loading bar (defaults to `3.0`)
###### Parameter `isRelativeToSafeArea`
###### Parameter `isRelativeToSafeArea: Bool`
With this parameter you can configure, whether the loading bar should be positioned relative to the safe area (defaults to `true`).
Example with `isRelativeToSafeArea` set to `true`