mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
feat(folio): add modifier param to Screen composable
This commit is contained in:
1 parent
f5b6b74274
commit
dc19465e61
1 file changed
+2
-1
@@ -19,12 +19,13 @@ import app.folio.ui.theme.ScreenPad
|
|||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun Screen(
|
fun Screen(
|
||||||
|
modifier: Modifier = Modifier,
|
||||||
header: @Composable (() -> Unit)? = null,
|
header: @Composable (() -> Unit)? = null,
|
||||||
footer: @Composable (() -> Unit)? = null,
|
footer: @Composable (() -> Unit)? = null,
|
||||||
content: @Composable () -> Unit,
|
content: @Composable () -> Unit,
|
||||||
) {
|
) {
|
||||||
val t = LocalTokens.current
|
val t = LocalTokens.current
|
||||||
Column(Modifier.fillMaxSize()) {
|
Column(Modifier.fillMaxSize().then(modifier)) {
|
||||||
if (header != null) header()
|
if (header != null) header()
|
||||||
Column(
|
Column(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|||||||
Reference in new issue
Block a user