icons
fun icons(trailingIconColor: Color? = null, leadingIconColor: Color? = null, @DrawableRes trailingIcon: Int? = null, @DrawableRes leadingIcon: Int? = null): ClerkButtonIcons
Creates a ClerkButtonIcons configuration for a button.
Return
A ClerkButtonIcons instance.
Parameters
trailingIconColor
The color of the trailing icon. If null, uses the current theme's primary color.
leadingIconColor
The color of the leading icon. If null, uses the current theme's primary color.
trailingIcon
The drawable resource for the trailing icon.
leadingIcon
The drawable resource for the leading icon.