You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-18Lines changed: 21 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,39 +12,42 @@ In other words, **you can draw prototypes and export React / Typescript code!**
12
12
13
13
**ReacType** allows the user to _visualize_ their application architecture dynamically, employing a _canvas display_, an _application tree_, and a _real-time component code preview_. The user can create components and load _instances_ of these components, as well as nested HTML elements, onto the canvas. This architecture can then be _exported_ as TypeScript application files to be used as a starter template for any repository.
14
14
15
-
Download for [MacOS](https://github.com/team-reactype/ReacType/releases/tag/Mac.Version.1.0), [Windows](https://github.com/team-reactype/ReacType/releases/tag/Win.Version.1.0), [Linux](https://github.com/team-reactype/ReacType/releases/tag/Linux.Version.1.0).
15
+
**New with version 2.0:**
16
+
- React Native mode for iOS/Andoird app design
17
+
- Hooks integration with functional components
18
+
- History navigation
19
+
- Tutorial mode
20
+
- New keyboard shortcuts
21
+
- Editable code preview
22
+
- Prop value designation for component children
23
+
24
+
Download for [MacOS](https://github.com/team-reactype/ReacType/releases), [Windows](https://github.com/team-reactype/ReacType/releases/), [Linux](https://github.com/team-reactype/ReacType/releases/).
16
25
17
26
***Mac users**: for now you might need to go to your security settings to allow the app run on your system as we do not have an Apple license yet.
18
27
19
-

28
+
***Linux users**: run the application as a super user in order to read and write files.
20
29
21
-
### How to use
30
+

22
31
23
-
- To enter **_Tutorial Mode_** navigate to 'Help' -> 'Tutotial'
32
+
### How to use
24
33
25
34
- Open the application to start a new project. It will open in the root App component, with its name listed in the left panel and the component represented by the white box on the canvas.
26
-
-**_Upload an image to use as template_** by clicking the button on the bottom left corner or through the windows menu under 'File -> Open Image'
27
-
- To add a new component, type its name in the upper left panel, in the field '**Add component**', and press enter.
35
+
-Switch to React Native mode to change the interface to a mobile app development environment
36
+
- To add a new component, type its name in the upper left panel, in the field '**Add class component**', and press enter.
28
37
- To render a component **_instance_** to the screen, first select the component, or _parent_, that the instance will be rendered within. This selected component will be represented in a new canvas view, with its own white box. Then press the plus button next to the component name. An instance, or _child_, representation will appear on the canvas.
29
-
- To **_toggle the component to be class or functional_** click the 'Class?' switch and it will repopulate the code preview to reflect the change.
30
-
- To **_toggle the component to be stateful_** click the 'State?' switch and it will repopulate the code preview to reflect the change. The application exported will use the 'useState' hook to allow for functional components to be stateful as well.
31
38
- To add draggable **HTML elements**, select the image icons on the lower left panel.
32
39
33
-

40
+

34
41
35
42
- The bottom panel allows the user to toggle between 4 different views: a **tree diagram of the application**, a **real-time preview of the exportable code**, a form to enter component props, and a form to add HTML attributes.
36
43
37
-

38
-
39
-
-**_Props_** can be added to each component within its tab on bottom panel. Enter in a _name for the prop_, select its data _type_ and press the bottom 'ADD PROP'.
44
+
-**_Props_** can be added to each component within its tab on bottom panel. Enter in a _key-value pair_, select its data _type_ and press the bottom 'ADD PROP'.
40
45
-**_HTML Element Attributes_** of class name and ID can be added to each HTML element after an HTML element has been rendered to the canvas.
41
-
- To **_edit code while in code preview_** press 'ENTER EDIT MODE'.
42
46
43
-

47
+

44
48
45
49
- To **_delete_** a _child_ or instance from the canvas, select the desired instance and either press the _delete_ key.
46
50
- To **_delete_** a _component_, click the 'DELETE' button of the desired component in the left panel.
47
-
- To **_edit_** a _component's name_, double click on the component's name, and press escape to cancel.
48
51
- To _start over_, select the blue 'CLEAR WORKSPACE' button in the left panel. This will **clear the entire application**.
49
52
50
53
### To Export Files
@@ -63,9 +66,9 @@ Download for [MacOS](https://github.com/team-reactype/ReacType/releases/tag/Mac.
0 commit comments