Open PavelHolec opened 2 years ago
A loading() (similar to modifiers like disabled()) should be supported on components that may need a loading indicator (InputField, Button,...)
loading()
disabled()
It probably should also contain a disabled() modifier inside by default.
loading(_ isLoading: Bool, isDisabled: Bool = true)
InputFieldLoadingModifier.swift
Depends on iOS 14 only ProgressView
ProgressView
A
loading()
(similar to modifiers likedisabled()
) should be supported on components that may need a loading indicator (InputField, Button,...)It probably should also contain a
disabled()
modifier inside by default.Signature
loading(_ isLoading: Bool, isDisabled: Bool = true)
Kiwi.com code
InputFieldLoadingModifier.swift