# FrontendRenderer

Source: https://docs.streamlit.io/develop/api-reference/custom-components/component-v2-lib-frontendrenderer

* Function signature:

   ```python
   FrontendRenderer<TState extends FrontendState = FrontendState, TData = unknown> = (componentArgs: FrontendRendererArgs<TState, TData>) => CleanupFunction | void
   ```

* Parameters:

   | name | type | default | description |
   |---|---|---|---|
   | FrontendRendererArgs | FrontendRendererArgs&lt;TState, TData&gt; |  | The inputs and utilities provided by Streamlit to your component. |

* Returns: CleanupFunction | void

    An optional cleanup function that Streamlit will call when the component is unmounted.
