issues
search
shuoink
/
ui
@shuoink/ui
ui-shuoink.vercel.app
0
stars
0
forks
source link
Respect style/className Props
#38
Open
spudly
opened
2 years ago
spudly
commented
2 years ago
user should be able to pass className/style as a value or a function
passing as a value will override the default
passing as a function will allow user to choose what to do
for complex components, this could be a map of classNames/styles (e.g.,
className={{wrapper: 'some-class', innerDiv: 'some-other-class'}}
)
className={{wrapper: 'some-class', innerDiv: 'some-other-class'}}
)