rename folder

This commit is contained in:
sanjeed5
2025-02-27 00:04:07 +05:30
parent 519c3fa882
commit f7fa52c998
879 changed files with 0 additions and 0 deletions
@@ -0,0 +1,5 @@
---
description: Enforces the use of functional components with hooks in React files.
globs: src/**/*.jsx
---
- Always use functional components with hooks in React development.
@@ -0,0 +1,5 @@
---
description: Recommends utilizing styled-components' attrs method for frequently used props.
globs: src/components/styled/**/*.js
---
- Utilize styled-components' attrs method for frequently used props.
@@ -0,0 +1,5 @@
---
description: Recommends using the css prop for conditional styling in Styled Components when appropriate.
globs: src/components/styled/**/*.js
---
- Use the css prop for conditional styling when appropriate.
@@ -0,0 +1,5 @@
---
description: Ensures all styling is done using CSS-in-JS with Styled Components.
globs: src/**/*.js
---
- Use CSS-in-JS for all styling needs.
@@ -0,0 +1,5 @@
---
description: Recommends following the styled-components documentation for best practices.
globs: src/components/styled/**/*.js
---
- Follow the styled-components documentation for best practices.
@@ -0,0 +1,5 @@
---
description: Enforces proper naming conventions for Styled Components.
globs: src/components/styled/**/*.js
---
- Use proper naming conventions for styled components (e.g., StyledButton).
@@ -0,0 +1,5 @@
---
description: Specifies the use of a consistent theming system with Styled Components.
globs: src/styles/theme.js
---
- Implement a consistent theming system.
@@ -0,0 +1,5 @@
---
description: Ensures proper TypeScript support for styled-components.
globs: src/components/styled/**/*.tsx
---
- Implement proper TypeScript support for styled-components.
@@ -0,0 +1,9 @@
---
description: Applies best practices for Styled Components within React components.
globs: src/components/styled/**/*.js
---
- Use the styled-components/macro for better debugging.
- Implement a global theme using ThemeProvider.
- Create reusable styled components.
- Use props for dynamic styling.
- Utilize CSS helper functions like css`` when needed.