Skip to content

Commit

Permalink
fix: add sample from sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
berviantoleo committed Nov 28, 2020
1 parent 3359945 commit 8171830
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ import { Field, formValues } from 'redux-form';
</SimpleForm>
```

### another sample

[Codesandbox.io](https://codesandbox.io/s/react-crop-demo-9hjxs)

## Feature

1. Input, basically no need any input, but in `react-admin`, we provide to read `record.image` field, if you need another field, you should update the code, also in `redux-form`, we also provide to read `image` prop. That prop will show an image in a canvas that will be used for croping.
Expand Down
4 changes: 4 additions & 0 deletions packages/react-multi-crop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ import { Field, formValues } from 'redux-form';
</SimpleForm>
```

### another sample

[Codesandbox.io](https://codesandbox.io/s/react-crop-demo-9hjxs)

## Feature

1. Input, basically no need any input, but in `react-admin`, we provide to read `record.image` field, if you need another field, you should update the code, also in `redux-form`, we also provide to read `image` prop. That prop will show an image in a canvas that will be used for croping.
Expand Down

0 comments on commit 8171830

Please sign in to comment.