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

14 lines
376 B
Python

"""A flexbox container."""
from pynecone.components.libs.chakra import ChakraComponent
from pynecone.var import Var
class Container(ChakraComponent):
"""Container composes Box so you can pass all Box related props in addition to this."""
tag = "Container"
# If true, container will center its children regardless of their width.
center_content: Var[bool]