Add supporting themes required for Lotusdocs
This commit is contained in:
1 parent
8a4d04db58
commit
f8d40c4e41
1289 files changed
+234948
No files matched your search
+8
@@ -0,0 +1,8 @@
|
||||
// @flow
|
||||
import type { Placement } from '../enums';
|
||||
|
||||
export default function getMainAxisFromPlacement(
|
||||
placement: Placement
|
||||
): 'x' | 'y' {
|
||||
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
||||
}
|
||||
Reference in new issue
Block a user