Answers for "toast notification bootstrap react js github"

0

toast notification bootstrap react js github

import { useToasts } from 'react-toast-notifications'

export const ToastDemo = ({ content }) => {
  const { addToast } = useToasts()
  return (
    <Button onClick={() => addToast(content, {
      appearance: 'warning',
      autoDismiss: true,
    placement: 'top-center'
    })}>
      Add Toast
    </Button>
  )
}
Posted by: Guest on April-19-2021
0

toast notification bootstrap react js github

import { useToasts } from 'react-toast-notifications'

export const ToastDemo = ({ content }) => {
  const { addToast } = useToasts()
  return (
    <Button onClick={() => addToast(content, {
      appearance: 'warning',
      autoDismiss: true,
    placement: 'top-center'
    })}>
      Add Toast
    </Button>
  )
}
Posted by: Guest on April-19-2021

Code answers related to "toast notification bootstrap react js github"

Code answers related to "Javascript"

Browse Popular Code Answers by Language