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

16 lines
385 B
Python

"""An image component."""
from pynecone.components.component import Component
class ChakraIconComponent(Component):
"""A component that wraps a chakra icon component."""
library = "@chakra-ui/icons"
class Icon(ChakraIconComponent):
"""The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon."""
tag = "None"