wobsoriano / vuetify-sonner

Stackable toast component for Vuetify.
https://vuetify-sonner.vercel.app
MIT License
121 stars 7 forks source link

feat: make props.action.label/onClick optional #4

Closed DiscreteTom closed 1 year ago

DiscreteTom commented 1 year ago

Making action.label optional to use VBtn's icon mode. Making action.onClick optional to just close the toast.

toast('Vuetify Sonner', {
  description: 'Stackable toast component for Vuetify.',
  action: {
    // label: '',
    // onClick: () => {},
    buttonProps: {
      icon: 'mdi-close',
      size: 'small',
    },
  },
})
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vuetify-sonner ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 5, 2023 4:07am