dataset prop type changed

This commit is contained in:
nklhrstv 2020-02-01 10:03:04 +02:00
parent 3bbcceb949
commit 0b7aa5068a
7 changed files with 7 additions and 7 deletions

View file

@ -77,7 +77,7 @@ const ColorInput = ({ className, value, dataset, onChange, ...props }) => {
ColorInput.propTypes = {
className: PropTypes.string,
value: PropTypes.string,
dataset: PropTypes.objectOf(PropTypes.string),
dataset: PropTypes.object,
onChange: PropTypes.func,
onClick: PropTypes.func
};

View file

@ -121,7 +121,7 @@ MetaItem.propTypes = {
playIcon: PropTypes.bool,
progress: PropTypes.number,
options: PropTypes.array,
dataset: PropTypes.objectOf(PropTypes.string),
dataset: PropTypes.object,
optionOnSelect: PropTypes.func,
onClick: PropTypes.func
};

View file

@ -112,7 +112,7 @@ ModalDialog.propTypes = {
PropTypes.arrayOf(PropTypes.node),
PropTypes.node
]),
dataset: PropTypes.objectOf(PropTypes.string),
dataset: PropTypes.object,
onCloseRequest: PropTypes.func
};

View file

@ -143,7 +143,7 @@ Multiselect.propTypes = {
})),
selected: PropTypes.arrayOf(PropTypes.string),
disabled: PropTypes.bool,
dataset: PropTypes.objectOf(PropTypes.string),
dataset: PropTypes.object,
renderLabelContent: PropTypes.func,
renderLabelText: PropTypes.func,
onOpen: PropTypes.func,

View file

@ -35,7 +35,7 @@ const PaginationInput = ({ className, label, dataset, onSelect, ...props }) => {
PaginationInput.propTypes = {
className: PropTypes.string,
label: PropTypes.string,
dataset: PropTypes.objectOf(PropTypes.string),
dataset: PropTypes.object,
onSelect: PropTypes.func
};

View file

@ -103,7 +103,7 @@ Popup.propTypes = {
direction: PropTypes.oneOf(['top-left', 'bottom-left', 'top-right', 'bottom-right']),
renderLabel: PropTypes.func.isRequired,
renderMenu: PropTypes.func.isRequired,
dataset: PropTypes.objectOf(PropTypes.string),
dataset: PropTypes.object,
onCloseRequest: PropTypes.func
};

View file

@ -105,7 +105,7 @@ Addon.propTypes = {
installed: PropTypes.bool,
onToggle: PropTypes.func,
onShare: PropTypes.func,
dataset: PropTypes.objectOf(PropTypes.string)
dataset: PropTypes.object
};
module.exports = Addon;