gamcoh / st-card

Streamlit component for UI cards
https://pypi.org/project/streamlit-card/
MIT License
119 stars 21 forks source link

TypeError: card() got an unexpected keyword argument 'on_click' #14

Closed C45513-L closed 1 year ago

C45513-L commented 1 year ago

TypeError: card() got an unexpected keyword argument 'on_click' TypeError: card() got an unexpected keyword argument 'styles'

Hi, both errors found with version 0.0.61.

gamcoh commented 1 year ago

Could you share how you're calling the component? It works on my setup

jung-hunsoo commented 1 year ago

I had the same error, and solved by passing on_click=lambda: None.