fragment.py 312 B

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