center.py 396 B

123456789101112131415161718192021
  1. """A box that centers its contents."""
  2. from pynecone.components.libs.chakra import ChakraComponent
  3. class Center(ChakraComponent):
  4. """A box that centers its contents."""
  5. tag = "Center"
  6. class Square(ChakraComponent):
  7. """A centered square container."""
  8. tag = "Square"
  9. class Circle(ChakraComponent):
  10. """A square container with round border-radius."""
  11. tag = "Circle"