Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 594 Bytes

naming.md

File metadata and controls

21 lines (11 loc) · 594 Bytes

Naming

File Name

By default, all files are named using the following pattern: name-type.extension, example: input-section.jsx.

React Components

All React components are creating using the jsx extension, using the default pattern.

Style

Since the style is made using SCSS, all files are named using the component name followed by *.styles.scss, example: input-section.styles.scss

Tests

Tests use the pattern component-name.test.js.

Storybook stories

Stories should be named using the component name followed by .stories.jsx: 'component-name.stories.jsx'