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'
import { Transition } from './Transition'
import { useReducedMotion } from '../../hooks/useReducedMotion'
@@ -34,7 +34,7 @@ export const Overlay: React.FC<IOverlayProps> = props => {
>
<div
onClick={onClick}
className={'overlay'}
className={s.overlay}
style={props.style}
>
{props.children}
File renamed without changes.