components uses css modules; other refactoring

This commit is contained in:
tmshv committed 2020-03-29 01:41:10 +03:00
1 parent 0cd61e0ed9
commit d65aba19a0
28 files changed
+137 -94

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import './styles.css'
import s from './styles.module.css'
export type CardGridProps = {
style?: React.CSSProperties
@@ -6,7 +6,7 @@ export type CardGridProps = {
export const CardGrid: React.FC<CardGridProps> = props => {
return (
<section className={'card-grid'} style={props.style}>
<section className={s.grid} style={props.style}>
{props.children}
</section>
)