Mohamed Ibrahim
08/26/2021, 5:32 PMif (condition){
wrapComposableWith( Container() )
} else {
createComposable
}
Zach Klippenstein (he/him) [MOD]
08/26/2021, 8:00 PMMohamed Ibrahim
08/27/2021, 8:43 PMcreateComposable -> same as calling Composable()
I need a short syntax for the snippet; I call the composable wrapped with a container if the condition is true. Otherwise, I call the composable directly.Zach Klippenstein (he/him) [MOD]
08/28/2021, 12:13 AM