source:
imaps-frontend/node_modules/@popperjs/core/lib/utils/getBasePlacement.js.flow
Last change on this file was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 220 bytes |
Line | |
---|---|
1 | // @flow |
2 | import { type BasePlacement, type Placement, auto } from '../enums'; |
3 | |
4 | export default function getBasePlacement( |
5 | placement: Placement | typeof auto |
6 | ): BasePlacement { |
7 | return (placement.split('-')[0]: any); |
8 | } |
Note:
See TracBrowser
for help on using the repository browser.