Skip to content

Commit 0d4acef

Browse files
committed
update card
1 parent 73fb2ab commit 0d4acef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reflex_ui/components/base/card.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ class HighLevelCard(CardComponent):
100100
@classmethod
101101
def create(cls, *children, **props):
102102
"""Create the card component."""
103-
title = props.pop("title", "")
104-
description = props.pop("description", "")
105-
content = props.pop("content", "")
106-
footer = props.pop("footer", "")
103+
title = props.pop("title", None)
104+
description = props.pop("description", None)
105+
content = props.pop("content", None)
106+
footer = props.pop("footer", None)
107107

108108
return CardRoot.create(
109109
(

0 commit comments

Comments
 (0)