
* Update component docstrings * Remove transitions libs * Add span component * Add lock files
15 lines
305 B
Python
15 lines
305 B
Python
"""A text component."""
|
|
from __future__ import annotations
|
|
|
|
from pynecone.components.libs.chakra import ChakraComponent
|
|
from pynecone.var import Var
|
|
|
|
|
|
class Text(ChakraComponent):
|
|
"""Render a paragraph of text."""
|
|
|
|
tag = "Text"
|
|
|
|
# Override the tag. The default tag is `<p>`.
|
|
as_: Var[str]
|