mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
This reverts commit 9f01a7fdf8.
This commit is contained in:
@@ -37,6 +37,7 @@ const propTypes = {
|
||||
const defaultProps = {
|
||||
onStop: () => {},
|
||||
onSave: () => {},
|
||||
disabled: false,
|
||||
};
|
||||
|
||||
// Prolly need to move this to a global context
|
||||
|
||||
@@ -35,8 +35,8 @@ const propTypes = {
|
||||
choices: PropTypes.oneOfType([
|
||||
PropTypes.arrayOf(PropTypes.array),
|
||||
PropTypes.func,
|
||||
]),
|
||||
schemes: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),
|
||||
]).isRequired,
|
||||
schemes: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,
|
||||
isLinear: PropTypes.bool,
|
||||
};
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ export const DEFAULT_VIEWPORT = {
|
||||
const PARAMS = ['longitude', 'latitude', 'zoom', 'bearing', 'pitch'];
|
||||
|
||||
const propTypes = {
|
||||
onChange: PropTypes.func,
|
||||
onChange: PropTypes.func.isRequired,
|
||||
value: PropTypes.shape({
|
||||
longitude: PropTypes.number,
|
||||
latitude: PropTypes.number,
|
||||
|
||||
Reference in New Issue
Block a user