ouds-ios-components-actions

Installation
SKILL.md

OUDS Actions components

Prerequisite: load ouds-ios-framework-usage first for imports, themes, token usage and image rules (OUDSImage, // swiftlint:disable:next accessibility_label_for_image).

OUDSButton

OUDSButton(text: "Label", appearance: .default) {}
OUDSButton(text: "Label", appearance: .default, style: .loading()) {}
OUDSButton(text: "Label", image: OUDSImage(asset: Image("ic")), appearance: .default, size: .small) {}
// Icon only: the accessibility label is given to the OUDSImage
OUDSButton(image: OUDSImage(asset: Image("ic"), accessibilityLabel: "Label"), size: .small) {}
// LocalizedStringKey:
OUDSButton(LocalizedStringKey("button_label"), bundle: Bundle.module, appearance: .default) {}
Installs
2
GitHub Stars
37
First Seen
3 days ago