Skip to content

Commit

Permalink
chore(Demo): Move the demo to seperate dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayZoneYour committed Dec 5, 2018
1 parent ce67211 commit 0c3260b
Show file tree
Hide file tree
Showing 21 changed files with 6,132 additions and 5,814 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The State management library for React

```
git clone https://github.com/byte-fe/react-model.git
cd react-model
cd react-model/example
npm run dev
```

Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Next.js
.next/
node_modules/
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion model/index.d.ts → example/model/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Action<T, P = any, ActionKeys = []> = (
params: P
) => Partial<T>

type ProviderProps = { [name: string]: Model }
type ProviderProps = { [name: string]: ModelType }

type Actions<T, ActionKeys> = {
[P in keyof ActionKeys]: Action<T, ActionKeys[P], ActionKeys>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 0c3260b

Please sign in to comment.