diff --git a/reflex/components/core/foreach.py b/reflex/components/core/foreach.py index c032727bb..46faf16b2 100644 --- a/reflex/components/core/foreach.py +++ b/reflex/components/core/foreach.py @@ -45,3 +45,9 @@ def foreach( ) return iterable.foreach(render_fn) + + +class Foreach: + """Create a list of components from an iterable.""" + + create = staticmethod(foreach)