Skip to content

Shared Components

Tristan Elliott edited this page Mar 14, 2024 · 3 revisions

Shared Components

Modderz logo Modderz logo

Documentation for all Composable inside of SharedComponents

Table Of Content

NoDrawerScaffold

  • UI demonstration with code below:
jetpack compose scaffold
  • example code:
SharedComponents.NoDrawerScaffold(
            topBar = {},
            bottomBar={}
        ) { contentPadding ->
           //CONTENT
           }
        }

DrawerScaffold

  • UI demonstration of drawer open with code below:
jetpack compose scaffold
SharedComponents.DrawerScaffold(
            scaffoldState = scaffoldState,
            topBar = {},
            bottomBar = { },
            drawerContent = {}
        ) { contentPadding ->


        }