variant

abstract fun variant(selector: ComponentSelector, detailsAction: Action<out Any>): ComponentSelector

Transforms the supplied selector into a specific variant selector.

Parameters

selector

the origin selector

detailsAction

the variant selection details configuration