Skip to content

Commit

Permalink
Add MenuItem component
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth Agarwal committed Sep 5, 2024
1 parent 1dfb5e9 commit 90e03cc
Show file tree
Hide file tree
Showing 4 changed files with 693 additions and 13 deletions.
2 changes: 2 additions & 0 deletions common/src/commonMain/kotlin/org/hisp/dhis/common/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import org.hisp.dhis.common.screens.others.BadgesScreen
import org.hisp.dhis.common.screens.others.ChipsScreen
import org.hisp.dhis.common.screens.others.IndicatorScreen
import org.hisp.dhis.common.screens.others.LegendScreen
import org.hisp.dhis.common.screens.others.MenuItemScreen
import org.hisp.dhis.common.screens.others.MetadataAvatarScreen
import org.hisp.dhis.common.screens.others.NavigationBarScreen
import org.hisp.dhis.common.screens.others.ProgressScreen
Expand Down Expand Up @@ -100,6 +101,7 @@ fun Main(
Groups.TAGS -> TagsScreen()
Groups.SEARCH_BAR -> SearchBarScreen()
Groups.NAVIGATION_BAR -> NavigationBarScreen()
Groups.MENU_ITEM -> MenuItemScreen()
Groups.NO_GROUP_SELECTED -> NoComponentSelectedScreen()
}
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ enum class Groups(val label: String) {
INDICATOR("Indicators"),
PARAMETER_SELECTOR("Parameter selector"),
NAVIGATION_BAR("Navigation Bar"),
MENU_ITEM("Menu Item"),
NO_GROUP_SELECTED("No group selected"),
}
Loading

0 comments on commit 90e03cc

Please sign in to comment.