6 lines
112 B
Text
6 lines
112 B
Text
|
// @flow
|
||
|
|
||
|
export default function getAltAxis(axis: 'x' | 'y'): 'x' | 'y' {
|
||
|
return axis === 'x' ? 'y' : 'x';
|
||
|
}
|