Skip to content

Commit 848bf59

Browse files
authored
docs: add sandbox demo
1 parent 0031dca commit 848bf59

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Requires react >= 16.8.0
88

99
This package makes use of [react-image-cropper](https://github.com/DominicTobias/react-image-crop)
1010

11+
**Try it on [codesandbox](https://codesandbox.io/p/sandbox/trusting-mendel-hg4jml?file=%2Fsrc%2FApp.js%3A20%2C16)**
12+
1113
## Installation
1214

1315
Run the following command:

Diff for: src/App.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useState } from 'react';
2-
import MultiImageInput from './lib/multi-image-input';
3-
// import MultiImageInput from 'react-multiple-image-input';
2+
// import MultiImageInput from './lib/multi-image-input';
3+
import MultiImageInput from 'react-multiple-image-input';
44

55
function App() {
66
const crop = {

0 commit comments

Comments
 (0)