Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
0.4.2 - Fix BooleanInput
Browse files Browse the repository at this point in the history
  • Loading branch information
jducro committed Jun 27, 2018
1 parent 63f5e0d commit f9fcc20
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 0.4.2 - 2018-06-27

* Fix BooleanInput

## 0.4.1 - 2018-06-27

* Add Boolean input
* Add BooleanInput

## 0.4.0 - 2018-06-22

Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deskpro/token-field",
"version": "0.4.1",
"version": "0.4.2",
"description": "",
"main": "dist/index.js",
"private": false,
Expand Down
9 changes: 8 additions & 1 deletion src/Components/TokenField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ export default class TokenField extends React.Component {
tokenTypes: PropTypes.arrayOf(PropTypes.shape({
id: PropTypes.string.isRequired,
widget: PropTypes.oneOf(
['TextInput', 'DateTimeInput', 'DurationInput', 'SelectInput', 'NumericRangeInput']
[
'BooleanInput',
'DateTimeInput',
'DurationInput',
'NumericRangeInput',
'SelectInput',
'TextInput',
]
).isRequired,
props: PropTypes.object,
description: PropTypes.string,
Expand Down

0 comments on commit f9fcc20

Please sign in to comment.