Skip to content

Commit a24d366

Browse files
Merge pull request #109 from ChristianEdwardPadilla/development
windows icon change
2 parents 757e09a + aa4416d commit a24d366

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# ReacType
1+
2+
<p align="center">
3+
<img width="50" src="https://github.com/team-reactype/ReacType/blob/master/src/public/icons/png/256x256.png?raw=true">
4+
<h1 align="center">ReacType </h1>
5+
</p>
26

37
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/team-reactype/ReacType/pulls)
48
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)
@@ -7,7 +11,7 @@
711

812
**ReacType** allows the user to _visualize_ their application architecture dynamically, employing a _canvas display_, an _application tree_, and a _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.
913

10-
Download for [MacOS](), [Windows](), [Linux]().
14+
Download for [MacOS](https://github.com/team-reactype/ReacType/releases/tag/Mac.Version.1.0), [Windows](https://github.com/team-reactype/ReacType/releases/tag/PC.Version.1.0), [Linux](https://github.com/team-reactype/ReacType/releases/tag/Linux.Version.1.0).
1115

1216
![Image of ReacType Application](https://i.imgur.com/2sefnAk.jpg)
1317

src/components/Props.jsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ const styles = theme => ({
7373
},
7474
});
7575

76-
const mapDispatchToProps = dispatch => ({
77-
addProp: ({ key, value, required, type }) =>
76+
const mapDispatchToProps = (dispatch: any) => ({
77+
addProp: ({ key, value, required, type }: { key: string, value: string, required: boolean, type: string }) =>
7878
dispatch(
7979
addProp({
8080
key,
@@ -83,10 +83,10 @@ const mapDispatchToProps = dispatch => ({
8383
type,
8484
}),
8585
),
86-
deleteProp: propId => dispatch(deleteProp(propId)),
86+
deleteProp: (propId: number) => dispatch(deleteProp(propId)),
8787
});
8888

89-
const mapStateToProps = store => ({
89+
const mapStateToProps = (store: any) => ({
9090
focusComponent: store.workspace.focusComponent,
9191
});
9292

@@ -95,10 +95,9 @@ const availablePropTypes = {
9595
number: 'NUM',
9696
object: 'OBJ',
9797
array: 'ARR',
98-
number: 'NUM',
9998
boolean: 'BOOL',
10099
function: 'FUNC',
101-
symbol: 'SYM',
100+
// symbol: 'SYM',
102101
node: 'NODE',
103102
element: 'ELEM',
104103
any: 'ANY',

0 commit comments

Comments
 (0)