bumbag-ui
bumbag-ui copied to clipboard
Impossible to styled with props for nested component with applyTheme
Describe the bug
I want to do this:
` import { SelectMenu as SelectMenuBumbag, applyTheme } from 'bumbag';
const SelectMenu = applyTheme(SelectMenuBumbag, { styles: { base: p => { return { width: p.autoWidth ? 'auto' : '100%', }; }, }, Button: { styles: { base: p => { return { display: p.autoWidth ? 'inline-flex' : 'flex', }; }, }, }, defaultProps: {}, });
export default SelectMenu;
`
But the styles of the SelectMenu Button was not apply.