sonner-native
Version:
An opinionated toast component for React Native. A port of @emilkowalski's sonner.
26 lines (25 loc) • 602 B
JavaScript
;
export const ESTIMATED_TOAST_HEIGHT = 70;
export const CLOSE_BUTTON_HIT_AREA = 60;
export const OUTSIDE_PRESS_PADDING = 20;
export const toastDefaultValues = {
duration: 4000,
position: 'top-center',
offset: 0,
swipeToDismissDirection: 'up',
variant: 'info',
visibleToasts: 3,
closeButton: false,
dismissible: true,
unstyled: false,
invert: false,
pauseWhenPageIsHidden: false,
gap: 14,
theme: 'system',
autoWiggleOnUpdate: 'never',
richColors: false,
enableStacking: false,
stackGap: 8,
allowFontScaling: true
};
//# sourceMappingURL=constants.js.map