source: imaps-frontend/node_modules/@popperjs/core/lib/utils/getVariation.js.flow

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 185 bytes
Line 
1// @flow
2import { type Variation, type Placement } from '../enums';
3
4export default function getVariation(placement: Placement): ?Variation {
5 return (placement.split('-')[1]: any);
6}
Note: See TracBrowser for help on using the repository browser.