wrap.py 368 B

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