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

8 months ago
  1. // @flow
  2. import { popperGenerator, detectOverflow } from './createPopper';
  3. import eventListeners from './modifiers/eventListeners';
  4. import popperOffsets from './modifiers/popperOffsets';
  5. import computeStyles from './modifiers/computeStyles';
  6. import applyStyles from './modifiers/applyStyles';
  7. export type * from './types';
  8. const defaultModifiers = [
  9. eventListeners,
  10. popperOffsets,
  11. computeStyles,
  12. applyStyles,
  13. ];
  14. const createPopper = popperGenerator({ defaultModifiers });
  15. // eslint-disable-next-line import/no-unused-modules
  16. export { createPopper, popperGenerator, defaultModifiers, detectOverflow };