Update Session07 Frontend.md
fixed minor bugs
This commit is contained in:
@@ -368,7 +368,7 @@ interface LoginModalProps {
|
|||||||
## 🔹 Component Setup
|
## 🔹 Component Setup
|
||||||
|
|
||||||
```tsx
|
```tsx
|
||||||
const LoginModal: React.FC<LoginModalProps> = ({ onClose }) => {
|
const LoginModal: React.FC<LoginModalProps> = ({ onClose }) => { ... };
|
||||||
```
|
```
|
||||||
|
|
||||||
Defines a functional React component with the `onClose` prop destructured.
|
Defines a functional React component with the `onClose` prop destructured.
|
||||||
|
|||||||
Reference in New Issue
Block a user