fragment.md 426 B


components:

- rx.fragment

Fragment

import reflex as rx
from pcweb import constants

A Fragment is a Component that allow you to group multiple Components without a wrapper node.

Refer to the React docs at React/Fragment for more information on its use-case.

rx.fragment(
    rx.text("Component1"), 
    rx.text("Component2")
)