import { Position , Toaster , Intent } from "@blueprintjs/core" ; const AppToaster = Toaster . create ( { position : Position . BOTTOM , } ) as Toaster ; export function toast ( message , intent = Intent . NONE ) { AppToaster . show ( { message , intent } ) ; }