We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a71522e commit a809373Copy full SHA for a809373
README.md
@@ -20,6 +20,23 @@ deno install -A -n rcc jsr:@sebkolind/react-component-cli
20
rcc <component-name>/<sub-component-name> [/<sub-component-name> ...]
21
```
22
23
+## Example
24
+
25
+With the default configuration, which can be seen below, this command:
26
27
+```sh
28
+rcc MyComponent/MySubComponent
29
+```
30
31
+will generate the following files:
32
33
+- `MyComponent.tsx`
34
+- `MyComponent.module.scss`
35
+- `MyComponent/index.ts`
36
+- `MyComponent/MySubComponent/MySubComponent.tsx`
37
+- `MyComponent/MySubComponent/MySubComponent.module.scss`
38
+- `MyComponent/MySubComponent/index.ts`
39
40
## Configuration
41
42
Create a configuration file at `~/.config/@sebkolind/rcc/config.yml` to customize the
0 commit comments