MimiActionButton
@MainActor
open class MimiActionButton : MimiButton
extension MimiActionButton: UIPointerInteractionDelegate
Large, prominent button which features a label and background color that changes with state.
Designed for triggering primary actions.
-
Style of corners on the button.
Declaration
Swift
@MainActor open var cornerStyle: CornerStyle! { get set }
-
Style of the button.
The overall style of the button, either
.fill
for a button with a solid background, or.outline
for a clear button with colored border.Declaration
Swift
@MainActor open var displayStyle: DisplayStyle! { get set }
-
Font to use for the button title.
Defaults to bold systemFont at 20.0 points.
Declaration
Swift
@MainActor open var titleFont: UIFont! { get set }
-
Declaration
Swift
@MainActor open override func construct(in view: UIView)
-
Declaration
Swift
@MainActor open override func apply(theme: MimiThemeDefinition)