%PDF- %PDF-
Direktori : /home/emergentqj/actioncivile/pre-auth/.4cc3a2e1590a4463a5f392ddcc26929e/static/node_modules/react-bootstrap/esm/ |
Current File : /home/emergentqj/actioncivile/pre-auth/.4cc3a2e1590a4463a5f392ddcc26929e/static/node_modules/react-bootstrap/esm/helpers.js |
import * as React from 'react'; export class BsPrefixComponent extends React.Component {} // Need to use this instead of typeof Component to get proper type checking. export function getOverlayDirection(placement, isRTL) { let bsDirection = placement; if (placement === 'left') { bsDirection = isRTL ? 'end' : 'start'; } else if (placement === 'right') { bsDirection = isRTL ? 'start' : 'end'; } return bsDirection; }