component-template
component-template copied to clipboard
Templates and example code for creating Streamlit Components
Following the instructions from the videos here - https://docs.streamlit.io/library/components/create When I try to run the frontend server I run into the error with stacktrace below. Stack trace: ``` npm run...
when use both together one more plot with be shown Like this one two plot appears ```python fig = px.scatter_mapbox(df, lat="lat", lon="lon", zoom=4, height=800) fig.update_layout(mapbox_style="open-street-map") selected_points = plotly_events(fig) if selected_points:...
node version : `v16.15.0` npm version : `8.5.5` --- Command: `npm run start` Error message: ``` Failed to compile. Type error: JSX element type 'ReactElement | Component | null' is...
Hi. You are currently using React Scripts 4.x.x. This is an old version. When I update it to 5.x.x I get compile/type errors for Apache Arrow. Please update `react-scripts` to...
Hi. The component template does not include tests. Please add one to verify that running tests works (it doesn't). Running tests I get errors here: ``` node_modules/streamlit-component-lib/dist/index.js:17 export { StreamlitComponentBase,...
Hello, First thank you for this amazing project š ! I tried to create a custom component with the ability to add children to the component (text, map, bar_chart...), similar...
Typescript and react scripts are dev dependencies, no?
Prettier is missing as a dev dependency.
Is there way to use react 18 version for this component template? our project base is using react 18+. So how can we use this library to support on our...
Iām attempting and failing to get the instructions to create create a bi-directional component available [here](https://docs.streamlit.io/library/components/components-api#create-a-bi-directional-component) to work using React on Windows. My setup is as follows: - Streamlit 1.31.0...