reflex/pynecone/components/layout/wrap.py
Nikhil Rao 7ec4b3f8fe
Improve component docs (#35)
* Update component docstrings
* Remove transitions libs
* Add span component
* Add lock files
2022-12-07 15:04:49 -08:00

16 lines
367 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 wrap automatically if there isn't enough space."""
tag = "Wrap"
class WrapItem(ChakraComponent):
"""Item of the Wrap component."""
tag = "WrapItem"