Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banners #688

Merged
merged 5 commits into from
Nov 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
start working on Banner
Signed-off-by: Ivan Morgillo <imorgillo@gmail.com>
hamen committed Nov 25, 2024
commit c955101f3f9a562d92637e12ce752f2394eecc36
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.jetbrains.jewel.samples.standalone.view.component

import androidx.compose.runtime.Composable

@Composable
internal fun Banners() {
}
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.runtime.snapshots.SnapshotStateList
import org.jetbrains.jewel.samples.standalone.StandaloneSampleIcons
import org.jetbrains.jewel.samples.standalone.view.component.Banners
import org.jetbrains.jewel.samples.standalone.view.component.Borders
import org.jetbrains.jewel.samples.standalone.view.component.Buttons
import org.jetbrains.jewel.samples.standalone.view.component.Checkboxes
@@ -95,6 +96,11 @@ object ComponentsViewModel {
}
},
),
ViewInfo(
title = "Banners",
iconKey = StandaloneSampleIcons.jewelLogo,
content = { Banners() }
)
)
var currentView by mutableStateOf(views.first())
}