Skip to content

Commit

Permalink
Fix typo (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvikn authored and jaredpalmer committed Sep 12, 2019
1 parent 77355e2 commit 1f47ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -56,7 +56,7 @@ These guidelines are adapted from the TypeScript core's contributor coding guide
1. 1 file per logical component (e.g. parser, scanner, emitter, checker).
2. If not kept in a separate folder, files with ".generated.\*" suffix are auto-generated, do not hand-edit them.
3. Tests should be kept in the same directory with ".test.\*" suffix
4. Filename should match the component name. Interfaces for React components should be called `<ComponentName>Props` and `<ComponentName>State`. The only exception is when writing a render prop. In this situation, you, the author, should call the interface for your component's props `<ComponentName>Config` and then the render prop interface `<ComponenName>Props` so it is easy for everyone else to use.
4. Filename should match the component name. Interfaces for React components should be called `<ComponentName>Props` and `<ComponentName>State`. The only exception is when writing a render prop. In this situation, you, the author, should call the interface for your component's props `<ComponentName>Config` and then the render prop interface `<ComponentName>Props` so it is easy for everyone else to use.

## Types

Expand Down

0 comments on commit 1f47ace

Please sign in to comment.