Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Commit 435a40f

Browse files
author
rnicholus
committed
fix(status): missing canceled and deleted status
fixes #148
1 parent dadb902 commit 435a40f

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ The `<Status />` component renders the current status of a file in a format appr
752752
- `id` - The Fine Uploader ID of the submitted file. (required)
753753
754754
- `text` - An object containing a map of status keys to display values. You may override one or more of these entries. Each entry with default values is listed below.
755+
- `canceled` - 'Canceled'
755756
- `deleting` - 'Deleting...'
756757
- `paused` - 'Paused'
757758
- `queued` - 'Queued'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-fine-uploader",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"license": "MIT",
55
"description": "React UI components for using Fine Uploader in a React-based project.",
66
"author": {

src/status.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ class Status extends Component {
77
id: PropTypes.number.isRequired,
88
className: PropTypes.string,
99
text: PropTypes.shape({
10+
canceled: PropTypes.string,
11+
deleted: PropTypes.string,
1012
deleting: PropTypes.string,
1113
paused: PropTypes.string,
1214
queued: PropTypes.string,
@@ -22,6 +24,8 @@ class Status extends Component {
2224
static defaultProps = {
2325
className: '',
2426
text: {
27+
canceled: 'Canceled',
28+
deleted: 'Deleted',
2529
deleting: 'Deleting...',
2630
paused: 'Paused',
2731
queued: 'Queued',

0 commit comments

Comments
 (0)