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
+10
@@ -0,0 +1,10 @@
|
||||
// @flow
|
||||
import type { Placement } from '../enums';
|
||||
|
||||
const hash = { start: 'end', end: 'start' };
|
||||
|
||||
export default function getOppositeVariationPlacement(
|
||||
placement: Placement
|
||||
): Placement {
|
||||
return (placement.replace(/start|end/g, matched => hash[matched]): any);
|
||||
}
|
||||
Reference in new issue
Block a user