ReactBootstrap.js 502 Bytes
Newer Older
1 2 3 4 5 6 7 8
'use strict';

const ReactBootstrap = require('react-bootstrap');

if (typeof window !== 'undefined') {
  window.ReactBootstrap = ReactBootstrap;
}

9
const Alert = require('react-bootstrap/Alert');
10 11 12
const OverlayTrigger = require('react-bootstrap/OverlayTrigger');
const Popover = require('react-bootstrap/Popover');

13
exports.alertCpt = Alert;
14 15 16 17
exports.overlayTriggerCpt = OverlayTrigger;
exports.popoverCpt = Popover;
exports.popoverContentCpt = Popover.Content;
exports.popoverTitleCpt = Popover.Title;