Skip to content

Commit

Permalink
fix: doc snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
tutkli committed Feb 21, 2024
1 parent 8e10765 commit 0d7ab81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/docs/src/app/components/types.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ export class TypeComponent {
allTypes = [
{
name: 'Default',
snippet: "toast.create({message: 'Event has been created'})",
snippet: "toast('Event has been created')",
action: () => toast('Event has been created'),
},
{
name: 'Description',
snippet: `toast('Event has been created', {
snippet: `toast.message('Event has been created', {
description: 'Monday, January 3rd at 6:00pm'
})`,
action: () =>
toast('Event has been created', {
toast.message('Event has been created', {
description: 'Monday, January 3rd at 6:00pm',
}),
},
Expand Down

0 comments on commit 0d7ab81

Please sign in to comment.