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