Skip to content

Commit 85f406f

Browse files
authored
Feature/add new demo (#53)
* chore: add a new demo
1 parent 7486a73 commit 85f406f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+27249
-17145
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ fabric.properties
3636
/dist/demo.js.map
3737
.DS_Store
3838
/tests/__coverage__/
39+
/examples/demo/build/

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
[![Package Quality](http://npm.packagequality.com/shield/react-filestack.svg)](http://packagequality.com/#?package=react-filestack)
44

55
# Filestack React
6-
<a href="https://www.filestack.com"><img src="https://assets.filestack.com/docs_v2/fs-logo.svg" align="left" hspace="10" vspace="6"></a> This is the official React component for Filestack API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
6+
<a href="https://www.filestack.com"><img src="https://github.com/filestack/filestack-android/raw/master/logo.svg?sanitize=true" align="left" hspace="10" vspace="6"></a> This is the official React component for Filestack API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
77

88
## Resources
99

1010
* [Filestack](https://www.filestack.com)
1111
* [Documentation](https://www.filestack.com/docs)
12-
* [Live Demo](https://www.zerocho.com/portfolio/ReactFilestack)
12+
* [Live Demo](https://codepen.io/Skayfer/pen/GzPYOP)
1313
* [NPM](https://npmjs.com/package/filestack-react)
1414
* [Tutorial](https://blog.filestack.com/product-updates/react-package/)
1515

@@ -125,20 +125,15 @@ const filestack = client.init('YOUR_API_KEY', options);
125125

126126
## Examples
127127

128-
You can find the examples of using Pick in ``/examples/demo``.
128+
You can find examples used in livedemo in ``/examples/demo``.
129129

130-
Run
130+
Go to the /examples/demo and type
131131

132132
```javascript
133+
npm i
133134
npm start
134135
```
135136

136-
and connect to localhost:8080.
137-
138-
To try different functions go to ``/examples/demo2`` and follow the same steps to run it.
139-
140-
![filestack](https://cloud.githubusercontent.com/assets/10962668/23750309/ac3e1080-050f-11e7-922d-ee9deb8251a3.png)
141-
142137

143138
## Available Props
144139
Please also see the [Official JavaScript API reference](https://filestack.github.io/filestack-js)

dist/filestack-react.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)