diff --git a/README.md b/README.md index 7c825e1..ef82f8e 100644 --- a/README.md +++ b/README.md @@ -752,6 +752,7 @@ The `` component renders the current status of a file in a format appr - `id` - The Fine Uploader ID of the submitted file. (required) - `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. + - `canceled` - 'Canceled' - `deleting` - 'Deleting...' - `paused` - 'Paused' - `queued` - 'Queued' diff --git a/package.json b/package.json index 3fc2162..bde4cdd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-fine-uploader", - "version": "1.0.5", + "version": "1.0.6", "license": "MIT", "description": "React UI components for using Fine Uploader in a React-based project.", "author": { diff --git a/src/status.jsx b/src/status.jsx index 4db12ea..55df9e8 100644 --- a/src/status.jsx +++ b/src/status.jsx @@ -7,6 +7,8 @@ class Status extends Component { id: PropTypes.number.isRequired, className: PropTypes.string, text: PropTypes.shape({ + canceled: PropTypes.string, + deleted: PropTypes.string, deleting: PropTypes.string, paused: PropTypes.string, queued: PropTypes.string, @@ -22,6 +24,8 @@ class Status extends Component { static defaultProps = { className: '', text: { + canceled: 'Canceled', + deleted: 'Deleted', deleting: 'Deleting...', paused: 'Paused', queued: 'Queued',