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
details Action
the variant selection details configuration