Skip to main content

Positions

toastify-react is supports 6 types of toaster positions.

Usage

toaster.info('This is a info message at position top-left', {
position: 'top-left',
});

toaster.info('This is a info message at position top-center', {
position: 'top-center',
});

toaster.info('This is a info message at position top-right', {
position: 'top-right',
});

toaster.info('This is a info message at position bottom-left', {
position: 'bottom-left',
});

toaster.info('This is a info message at position bottom-center', {
position: 'bottom-center',
});

toaster.info('This is a info message at position bottom-right', {
position: 'bottom-right',
});