src/constants.js
export const DEFAULT_ARROW_MARGIN = 2;
export const SIZE = 7;
export const BORDER_WIDTH = 1;
export const FOREGROUND = '#fff';
export const BORDER_COLOUR = '#999';
export const POSITION = 'bottom';
export const USE_FOREGROUND = true;
export const CLASS_BASE = 'tooltip';
export const BOUNDARY = 10;
export const CLASSES = {
visuallyHidden: {
position: 'absolute',
clip: 'rect(1px, 1px, 1px, 1px)',
padding: '0',
border: '0',
height: '1px',
width: '1px',
overflow: 'hidden',
},
};