Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
haradakunihiko committed Feb 28, 2016
1 parent d71742e commit 39da7f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ const YourDialog = ({show, proceed, dismiss, cancel, confirmation, options}) =>
}

YourDialog.propTypes = {
show: PropTypes.bool, // from confirmable
proceed: PropTypes.func, // from confirmable
cancel: PropTypes.func, // from confirmable
dismiss: PropTypes.func, // from confirmable
confirmation: PropTypes.string, // arguments of your confirm function
show: PropTypes.bool, // from confirmable. indicates if the dialog is shown or not.
proceed: PropTypes.func, // from confirmable. call to close the dialog with promise resolved.
cancel: PropTypes.func, // from confirmable. call to close the dialog with promise rejected.
dismiss: PropTypes.func, // from confirmable. call to only close the dialog.
confirmation: PropTypes.string, // arguments of your confirm function
options: PropTypes.object // arguments of your confirm function
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-confirm",
"version": "0.1.11",
"version": "0.1.12",
"description": "Small library which makes your Dialog component callable",
"main": "lib/index.js",
"repository": {
Expand Down

0 comments on commit 39da7f0

Please sign in to comment.