MCPcopy
hub / github.com/reflex-dev/reflex / add_style

Method add_style

tests/units/components/test_component.py:2040–2043  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2038
2039 class ParentComponent(Component):
2040 def add_style(self):
2041 return Style({
2042 "fake_parent": v0,
2043 })
2044
2045 class StyledComponent(ParentComponent):
2046 tag = "StyledComponent"

Callers 2

test_icon_add_styleFunction · 0.45
test_icon_buttonFunction · 0.45

Calls 1

StyleClass · 0.90

Tested by

no test coverage detected