mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
dataset prop type changed
This commit is contained in:
parent
3bbcceb949
commit
0b7aa5068a
7 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ ModalDialog.propTypes = {
|
|||
PropTypes.arrayOf(PropTypes.node),
|
||||
PropTypes.node
|
||||
]),
|
||||
dataset: PropTypes.objectOf(PropTypes.string),
|
||||
dataset: PropTypes.object,
|
||||
onCloseRequest: PropTypes.func
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue