- useToast(): {
error: (message: string) => void;
info: (message: string) => void;
success: (message: string) => void;
warning: (message: string) => void;
} Returns {
error: (message: string) => void;
info: (message: string) => void;
success: (message: string) => void;
warning: (message: string) => void;
}
error: (message: string) => void
info: (message: string) => void
success: (message: string) => void
warning: (message: string) => void
メッセージをトースト通知するロジックを生成します。