Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table responsive not getting name from cssModules #1429

Closed
huan086 opened this issue Mar 6, 2019 · 1 comment
Closed

Table responsive not getting name from cssModules #1429

huan086 opened this issue Mar 6, 2019 · 1 comment

Comments

@huan086
Copy link
Contributor

huan086 commented Mar 6, 2019

  • components: Table
  • reactstrap version #7.1.0
  • import method es
  • react version #16.8.1
  • bootstrap version #4.3.1

What is happening?

https://github.com/reactstrap/reactstrap/blob/master/src/Table.js#L59 renders className table-responsive without looking in cssModules

What should be happening?

The className should be the mangled name in cssModules

Steps to reproduce issue

Error message in console

None

Code

import bootstrap from '../../css/bootstrap.scss';
const bs = bootstrap as any as { [classname: string]: string };
<Table responsive cssModule={bs}>
@TheSharpieOne
Copy link
Member

closed via #1430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants