reflex/pynecone/components/layout/wrap.py
2022-11-18 12:44:06 -08:00

16 lines
368 B
Python

"""Container to stack elements with spacing."""
from pynecone.components.libs.chakra import ChakraComponent
class Wrap(ChakraComponent):
"""Layout component used to add space between elements and wraps automatically if there isn't enough space."""
tag = "Wrap"
class WrapItem(ChakraComponent):
"""Item of the Wrap component."""
tag = "WrapItem"