You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
614 B
21 lines
614 B
// @flow
|
|
import { popperGenerator, detectOverflow } from './createPopper';
|
|
|
|
import eventListeners from './modifiers/eventListeners';
|
|
import popperOffsets from './modifiers/popperOffsets';
|
|
import computeStyles from './modifiers/computeStyles';
|
|
import applyStyles from './modifiers/applyStyles';
|
|
|
|
export type * from './types';
|
|
|
|
const defaultModifiers = [
|
|
eventListeners,
|
|
popperOffsets,
|
|
computeStyles,
|
|
applyStyles,
|
|
];
|
|
|
|
const createPopper = popperGenerator({ defaultModifiers });
|
|
|
|
// eslint-disable-next-line import/no-unused-modules
|
|
export { createPopper, popperGenerator, defaultModifiers, detectOverflow };
|