reflex/pynecone/components/layout/fragment.py
2022-12-20 10:43:32 -08:00

10 lines
314 B
Python

"""React fragments to enable bare returns of component trees from functions."""
from pynecone.components.component import Component
class Fragment(Component):
"""A React fragment to return multiple components from a function without wrapping it in a container."""
library = "react"
tag = "Fragment"