pavi2410

    pavi2410

    1 year ago
    In other words, is it even possible to reset the applied Modifiers? Like in CSS? It can be useful to tweak existing composables components
    Zach Klippenstein (he/him) [MOD]

    Zach Klippenstein (he/him) [MOD]

    1 year ago
    You can make the modifiers conditional, like anything else. var modifier = Modifier.something() if (condition) modifier = modifier.padding(…) Box(modifier)