MCPcopy Create free account
hub / github.com/adobe/react-spectrum / neutral

Function neutral

packages/@react-spectrum/s2/src/Toast.tsx:146–148  ·  view source on GitHub ↗

Queues a neutral toast.

(children: string, options: ToastOptions = {})

Source from the content-addressed store, hash-verified

144const SpectrumToastQueue = {
145 /** Queues a neutral toast. */
146 neutral(children: string, options: ToastOptions = {}): CloseFunction {
147 return addToast(children, 'neutral', options);
148 },
149 /** Queues a positive toast. */
150 positive(children: string, options: ToastOptions = {}): CloseFunction {
151 return addToast(children, 'positive', options);

Callers

nothing calls this directly

Calls 1

addToastFunction · 0.70

Tested by

no test coverage detected