If you want to add more packages to your component, run npm add to add them from within your component's frontend/ directory.
shell
npm add baseui
To build a static version of your component, run npm run build. See Prepare your Component for more information
Python API
components.declare_component() is all that's required to create your Component's Python API:
python
  import streamlit.components.v1 as components
  my_component = components.declare_component(
    "my_component",
    url="http://localhost:3001"
  )
You can then use the returned my_component function to send and receive data with your frontend code:
```python
Send data to the frontend using named arguments.
return_value = my_component(name="Blackbeard", ship="Queen Anne's Revenge")
my_component's return value is the data returned from the frontend.
