hampallop open-rock .cursorrules file for TypeScript

When importing from lucide-react, use the postfixed Icon name.
For example, use `SearchIcon` instead of `Search`.

Try to keep the code base as functional for ease of readability as much as possible.

Use name export instead of default export for components.
When create a component use function keyword instead of arrow function.
For example, `export function SearchBox() {}` instead of `export const SearchBox = () => {}`.
css
javascript
react
typescript

First Time Repository

TypeScript

Languages:

CSS: 1.6KB
JavaScript: 0.2KB
TypeScript: 156.4KB
Created: 10/2/2024
Updated: 11/2/2024

All Repositories (1)