center.py 409 B

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