```@Composable private fun Link( modifier: Mod...
# compose
u
Copy code
@Composable
private fun Link(
    modifier: Modifier,
    text: String,
    isQuiet: Boolean = false, <------
    isSecondary: Boolean = false, <------
    isSmall: Boolean = false, <----------
    onClick: () -> Unit
) {
    ...
}
How do you deal with creating variants of composables? I'd naturally expect to these be a separate composables however in this case, its a combination, i.e. I'd have to end up with
Copy code
LargeLoudPrimaryLink
LargeQuietPrimaryLink
...
all the combinations -- which seems not ideal
e
Why so may combinations? If its styling then you can use a single styling parameter that will encode the different combinations
u
Well iant that what the booleans do?