finish setting webpack
This commit is contained in:
12
src/components/MyButton.jsx
Normal file
12
src/components/MyButton.jsx
Normal file
@ -0,0 +1,12 @@
|
||||
import React from "react";
|
||||
import classes from "../assets/styles/components/myButton.module.scss"
|
||||
|
||||
const MyButton = () => {
|
||||
return (
|
||||
<div className={classes.main}>
|
||||
<button type="button">Создать</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default MyButton;
|
12
src/components/MyInput.jsx
Normal file
12
src/components/MyInput.jsx
Normal file
@ -0,0 +1,12 @@
|
||||
import React from "react";
|
||||
import classes from "../assets/styles/components/myInput.module.scss"
|
||||
|
||||
const MyInput = () => {
|
||||
return (
|
||||
<div className={classes.main}>
|
||||
<input type="text" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default MyInput;
|
14
src/components/NavBar.jsx
Normal file
14
src/components/NavBar.jsx
Normal file
@ -0,0 +1,14 @@
|
||||
import React from "react";
|
||||
import classes from "../assets/styles/components/navbar.module.scss"
|
||||
|
||||
const NavBar = () => {
|
||||
return (
|
||||
<navbar className={classes.main}>
|
||||
<div className={classes.wrapper}>
|
||||
|
||||
</div>
|
||||
</navbar>
|
||||
)
|
||||
}
|
||||
|
||||
export default NavBar;
|
Reference in New Issue
Block a user