mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 17:46:56 +03:00
Expand PropTypes for dataTypeKey (#994)
This commit is contained in:
parent
90af902aac
commit
1bebc4423e
|
@ -35,7 +35,7 @@ DiffTab.propTypes = {
|
||||||
invertTheme: PropTypes.bool.isRequired,
|
invertTheme: PropTypes.bool.isRequired,
|
||||||
labelRenderer: PropTypes.func.isRequired,
|
labelRenderer: PropTypes.func.isRequired,
|
||||||
isWideLayout: PropTypes.bool.isRequired,
|
isWideLayout: PropTypes.bool.isRequired,
|
||||||
dataTypeKey: PropTypes.string,
|
dataTypeKey: PropTypes.oneOfType([PropTypes.string, PropTypes.symbol]),
|
||||||
};
|
};
|
||||||
|
|
||||||
export default DiffTab;
|
export default DiffTab;
|
||||||
|
|
|
@ -35,7 +35,7 @@ StateTab.propTypes = {
|
||||||
base16Theme: PropTypes.any.isRequired,
|
base16Theme: PropTypes.any.isRequired,
|
||||||
invertTheme: PropTypes.bool.isRequired,
|
invertTheme: PropTypes.bool.isRequired,
|
||||||
labelRenderer: PropTypes.func.isRequired,
|
labelRenderer: PropTypes.func.isRequired,
|
||||||
dataTypeKey: PropTypes.string,
|
dataTypeKey: PropTypes.oneOfType([PropTypes.string, PropTypes.symbol]),
|
||||||
isWideLayout: PropTypes.bool.isRequired,
|
isWideLayout: PropTypes.bool.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user