Initial commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export default function getMainAxisFromPlacement(placement) {
|
||||
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
||||
}
|
||||
Reference in New Issue
Block a user