Open axaxaman opened 4 years ago
code
const Component = compose( withPinCircleCircle, //cn - Button withThemeClear, //cn - MyButton )(Base); <Component>
expectation
classname: Button_pin_circle-circle MyButton_theme-clear
reality:
classname: Button_pin_circle-circle Button_theme-clear
reason: https://github.com/bem/bem-react/blob/48063ffd832086cd3472ea525a0654224768b14b/packages/core/core.ts#L166
code
expectation
reality:
reason: https://github.com/bem/bem-react/blob/48063ffd832086cd3472ea525a0654224768b14b/packages/core/core.ts#L166