Skip to content

Commit 0ae9658

Browse files
committed
Merge remote-tracking branch 'origin/forman-34-component_docs' into forman-34-component_docs
2 parents c54dc39 + 22df971 commit 0ae9658

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

chartlets.py/chartlets/component.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ class Component(ABC):
2525
#
2626
# Special non-HTML properties
2727
label: str | None = None
28-
"""Optional label used by many specific components."""
28+
"""Label used by many specific components. Optional """
2929

3030
children: list["Component"] | None = None
31-
"""Optional children used by many specific components."""
31+
"""Children used by many specific components. Optional """
3232

3333
@property
3434
def type(self):

chartlets.py/chartlets/components/box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Box(Container):
88
"""The Box component is a generic container for grouping other components.
99
It's a fundamental building block. Think of it as an HTML `<div>` element.
1010
11-
Use the `style` attribute how to layout the box and its child components.
11+
Use the `style` attribute to layout the box and its child components.
1212
"""
1313

1414
component: str | None = None

chartlets.py/chartlets/components/typography.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Typography(Component):
99
and efficiently as possible."""
1010

1111
text: str | None = None
12-
"""Optional text to be displayed."""
12+
"""Text to be displayed. Optional"""
1313

1414
color: str | None = None
1515
"""The color of the component."""

0 commit comments

Comments
 (0)