(kinda) generical way to declare theme args in each widget
my knowledge in ts, is way less than py, i'll try to work on improve the generic methods
color, background_color, size, font declared as themes in all widgets (backend & frontend)
questions
(concept) do you like the overall "generic theme" idea of this PR?
in case so
(backend) is clean to have the args in each py function? or would be cleaner to define theme: dict?
(frontend) is clean to call const {color, font, backgroundColor, size, primaryColor, textColor} = getTheme(props); every time? or would be better to move to theme=getTheme(props);?
https://github.com/nicedouble/StreamlitAntdComponents/issues/35
questions
theme: dict
?const {color, font, backgroundColor, size, primaryColor, textColor} = getTheme(props);
every time? or would be better to move totheme=getTheme(props);
?