@_with_element
def text(self, element, body):
    "Write fixed-width and preformatted text.\n\n        Parameters\n        ----------\n        body : str\n            The string to display.\n\n        Example\n        -------\n        >>> st.text('This is some text.')\n\n        .. output::\n           https://share.streamlit.io/0.25.0-2JkNY/index.html?id=PYxU1kee5ubuhGR11NsnT1\n           height: 50px\n\n        "
    element.text.body = _clean_text(body)
Write fixed-width and preformatted text.

Parameters
----------
body : str
    The string to display.

Example
-------
>>> st.text('This is some text.')

.. output::
   https://share.streamlit.io/0.25.0-2JkNY/index.html?id=PYxU1kee5ubuhGR11NsnT1
   height: 50px
@_with_element
def text(self, element, body):
    "Write fixed-width and preformatted text.\n\n        Parameters\n        ----------\n        body : str\n            The string to display.\n\n        Example\n        -------\n        >>> st.text('This is some text.')\n\n        .. output::\n           https://share.streamlit.io/0.25.0-2JkNY/index.html?id=PYxU1kee5ubuhGR11NsnT1\n           height: 50px\n\n        "
    element.text.body = _clean_text(body)