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

Function info

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

Queues an informational toast.

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

Source from the content-addressed store, hash-verified

156 },
157 /** Queues an informational toast. */
158 info(children: string, options: ToastOptions = {}): CloseFunction {
159 return addToast(children, 'info', options);
160 }
161};
162
163export {SpectrumToastQueue as ToastQueue};

Callers

nothing calls this directly

Calls 1

addToastFunction · 0.70

Tested by

no test coverage detected