Skip to content

Commit

Permalink
Update app-core.py to use main code
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Jul 17, 2024
1 parent e89b154 commit 3ff0f6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shiny/api-examples/card_body/app-core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
app_ui = ui.page_fluid(
ui.card(
ui.card_header("This is the header"),
x.ui.card_body(
x.ui.card_title("This is the title"),
ui.card_body(
ui.tags.h5("This is the title"),
ui.p("This is the body."),
ui.p("This is still the body."),
),
Expand All @@ -15,7 +15,7 @@
ui.card(
ui.p("These first two elements will be wrapped in `card_body()` together."),
ui.p("These first two elements will be wrapped in `card_body()` together."),
x.ui.card_body(ui.p("A card body.")),
ui.card_body(ui.p("A card body.")),
ui.p("These last two elements will be wrapped in `card_body()` together."),
ui.p("These last two elements will be wrapped in `card_body()` together."),
),
Expand Down

0 comments on commit 3ff0f6b

Please sign in to comment.