mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-28 05:32:54 +08:00
5 lines
246 B
Plaintext
5 lines
246 B
Plaintext
---
|
|
description: This rule enforces the use of functional components with hooks in React components within the src/components directory.
|
|
globs: src/components/**/*.tsx
|
|
---
|
|
- Always use functional components with hooks instead of class components. |