reactjs - react-css-modules with decorators not working -
trying decorator syntax working react css modules shown here. https://github.com/gajus/react-css-modules#decorator
i've got react-css-modules working using function syntax, e.g.
cssmodules(table, styles)
but when using decorators, e.g.
@cssmodules(styles)
export default class extends react.component {}
nothing seems instantiated , no errors thrown either. i've got babel-plugin-syntax-decorators loaded.
what missing? thanks!!
Comments
Post a Comment