Source code for meerkat.interactive.app.src.lib.component.core.text

from meerkat.interactive.app.src.lib.component.abstract import Component


[docs]class Text(Component): data: str classes: str = "" editable: bool = False
[docs] def __init__( self, data: str, *, classes: str = "", editable: bool = False, ): """Display text. Args: data: The text to display. editable: Whether the text is editable. """ # "whitespace-nowrap text-ellipsis overflow-hidden text-right " super().__init__( classes=classes, data=data, editable=editable, )