Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export function showToasterMessage(message,intent) {
- console.log(intent); // DANGER
- const MyToaster = Toaster.create({
- position: Position.BOTTOM
- });
- return MyToaster.show({message,intent: Intent./* (I want to use intent here) */,timeout : 2500});
- }
Add Comment
Please, Sign In to add comment