Skip to content

Commit

Permalink
Corrected naming conventions table
Browse files Browse the repository at this point in the history
  • Loading branch information
keith-gamble committed Nov 14, 2024
1 parent 22def97 commit 175ac48
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions docs/docs/4-Guides/3-naming-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,14 @@ examples.chart.linegraph

### Consistent Cross-file Naming

```
Component Type | Pattern | Example
-----------------|----------------------|------------------
TypeScript Class | PascalCase | MyComponent
Props Interface | PascalCase + Props | MyComponentProps
Meta Class | PascalCase + Meta | MyComponentMeta
Java Class | PascalCase | MyComponent
Props Schema | kebab-case.props.json| my-component.props.json
Icon File | kebab-case-icon.svg | my-component-icon.svg
```
| Component Type | Pattern | Example |
| ---------------- | --------------------- | ------------------------- |
| TypeScript Class | PascalCase | `MyComponent` |
| Props Interface | PascalCase + Props | `MyComponentProps` |
| Meta Class | PascalCase + Meta | `MyComponentMeta` |
| Java Class | PascalCase | `MyComponent` |
| Props Schema | kebab-case.props.json | `my-component.props.json` |
| Icon File | kebab-case-icon.svg | `my-component-icon.svg` |

## File Organization

Expand Down

0 comments on commit 175ac48

Please sign in to comment.