Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

React: component structure

Alikhan Arshabekov edited this page Jan 21, 2020 · 2 revisions

Component Architecture

{ComponentName}/
├── services/
│   ├── builders.ts
│   └── parsers.ts
├── types/
│   ├── {TypeName}.mock.ts
│   └── {TypeName}.ts
├── component.tsx
├── index.module.scss
├── index.ts 
├── props.mock.ts
├── props.ts
├── stories.tsx
└── test.tsx
Clone this wiki locally