MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / warning

Function warning

apps/web/ui/Toast/index.tsx:51–57  ·  view source on GitHub ↗
(message: any, options?: Options)

Source from the content-addressed store, hash-verified

49 });
50 },
51 warning(message: any, options?: Options) {
52 return toast.error(message, {
53 style,
54 icon: icons.warning,
55 ...options,
56 });
57 },
58 dismiss(id: string) {
59 toast.dismiss(id);
60 },

Callers

nothing calls this directly

Calls 1

errorMethod · 0.65

Tested by

no test coverage detected