shoreline icon indicating copy to clipboard operation
shoreline copied to clipboard

fix(toast-stack): pass custom ariaProps to the Toast component

Open viniciuslagedo opened this issue 6 months ago • 1 comments

Summary

Resolves #1536

Examples

// Renders the Toast component with role equal alert and aria-live equal assertive
<ToastStack toastOptions={
        {
          ariaProps: {
            role: 'alert',
            "aria-live": 'assertive'
          }
        }
      } />

viniciuslagedo avatar Aug 22 '24 15:08 viniciuslagedo