File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
compose/snippets/src/main/java/com/example/compose/snippets/components Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ fun SimpleNavigationDrawerExample() {
131131}
132132// [END android_compose_components_simplenavigationdrawerexample]
133133
134+ @Preview
135+ @Composable
136+ private fun SimpleNavigationDrawerExamplePreview (){
137+ SimpleNavigationDrawerExample ()
138+ }
139+
134140// [START android_compose_components_nestednavigationdrawerexample]
135141@Composable
136142fun NestedNavigationDrawerExample () {
@@ -182,3 +188,8 @@ fun NestedNavigationDrawerExample() {
182188}
183189// [END android_compose_components_nestednavigationdrawerexample]
184190
191+ @Preview
192+ @Composable
193+ private fun NestedNavigationDrawerExamplePreview (){
194+ NestedNavigationDrawerExample ()
195+ }
You can’t perform that action at this time.
0 commit comments