From 3ff0f6b9a20150865ddf110a787370f08a60599e Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Tue, 16 Jul 2024 23:33:16 -0400 Subject: [PATCH] Update app-core.py to use main code --- shiny/api-examples/card_body/app-core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shiny/api-examples/card_body/app-core.py b/shiny/api-examples/card_body/app-core.py index 3702c676de..eb61404124 100644 --- a/shiny/api-examples/card_body/app-core.py +++ b/shiny/api-examples/card_body/app-core.py @@ -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."), ), @@ -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."), ),