Buttons

Toggle Buttons

ToggleButton(
foregroundColor: Color("blackLD"),
backgroundColor: Color("lightGreyLD"),
iconName: "name=eye, size=small, outlined=no",
size: 18
)
CustomBackButton()

CustomXButton()

Large Buttons

Default

LargeButton(state: .default, action: {
                print("Default Button Tapped")
            }) {
                Text("Default")
            }

Primary

LargeButton(state: .primary, action: {
                print("Primary Button Tapped")
            }) {
                Text("Primary")
            }

Disabled

LargeButton(state: .disabled, action: {
                print("Disabled Button Tapped")
            }) {
                Text("Disabled")
            }

Last updated