moved all css files to module files to seperate into namespaces and prevent name overlaps

This commit is contained in:
lukas committed 2020-07-08 00:14:08 +02:00
1 parent afae31618c
commit 720c218a11
18 files changed
+72 -68

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
import React from "react";
import "./Tag.css"
import styles from "./Tag.module.css"
import CategoryPage from "../../pages/CategoryPage/CategoryPage";
class Tag extends React.Component {
render() {
return (
<button className='tagbtn' onClick={() => this.TagClick()}
<button className={styles.tagbtn} onClick={() => this.TagClick()}
data-testid="Test-Tag">{this.props.children}</button>
);
}
File renamed without changes.