-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: css-loader default modules true
- Loading branch information
1 parent
7d07d00
commit 031befb
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import React, { FC } from 'react'; | ||
import './styles.css'; | ||
import styles from './styles.css'; | ||
|
||
export type ComponentProps = { | ||
title: string; | ||
}; | ||
export const Component: FC<ComponentProps> = ({ title }) => ( | ||
<div className="container">{title}</div> | ||
<div className={styles.container}>{title}</div> | ||
); |