UNPKG

streamlit-component-lib-react-hooks

Version:

An npm package that provides support code for creating [Streamlit Components](https://docs.streamlit.io/en/stable/streamlit_components.html) with React and React Hooks.

11 lines (10 loc) 369 B
import React from "react"; /** * Wrapper for React-hooks-based Streamlit components. * * Bootstraps the communication interface between Streamlit and the component. */ export interface StreamlitProviderProps { children: React.ReactNode; } export declare function StreamlitProvider(props: StreamlitProviderProps): import("react/jsx-runtime").JSX.Element | null;