8 lines
101 B
JavaScript
8 lines
101 B
JavaScript
|
export default (type) => ({
|
||
|
type: 'object',
|
||
|
properties: {
|
||
|
x: {type},
|
||
|
y: {type},
|
||
|
},
|
||
|
});
|