change directory name
This commit is contained in:
15
react+springboot/react-practice/practice/01/Sub.js
vendored
Normal file
15
react+springboot/react-practice/practice/01/Sub.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from 'react';
|
||||
|
||||
let num = 10;
|
||||
|
||||
const Sub = () => {
|
||||
console.log('sub');
|
||||
return (
|
||||
<div>
|
||||
<h1>Sub</h1>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export { num };
|
||||
export default Sub;
|
||||
Reference in New Issue
Block a user