Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{options.type === "error" && }
<span style="{{">{message}</span>
<button style="{buttonStyle}">
</button>
);
};
export const alertOptions = {
// you can also just use 'bottom center'
position: positions.BOTTOM_CENTER,
timeout: 3000,
offset: "50px",
// you can also just use 'scale'
transition: transitions.SCALE
};