icon.py 385 B

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