Add supporting themes required for Lotusdocs
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// @flow
|
||||
import { type BasePlacement, type Placement, auto } from '../enums';
|
||||
|
||||
export default function getBasePlacement(
|
||||
placement: Placement | typeof auto
|
||||
): BasePlacement {
|
||||
return (placement.split('-')[0]: any);
|
||||
}
|
||||
Reference in New Issue
Block a user