UNPKG

536 BMarkdownView Raw
1# react-scripts
2
3Functions for creating and editing React components.
4
5We recommend running these from [@creuna/cli](https://github.com/Creuna-Oslo/cli).
6
7If you want to use these functions from JavaScript, this is the right module for you.
8
9## API
10
11This module exports one object containing all the functions.
12
13```javascript
14{
15 newComponent, // Create new component
16 newPage, // Create new mockup page
17 rename, // Rename component
18 toStateful, // Convert component to stateful
19 toStateless; // Convert component to stateless
20}
21```
\No newline at end of file