Skip to content

Commit

Permalink
fix: react alert and toaster docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcamargo committed Jan 20, 2021
1 parent 4d7ffc2 commit 432623a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/react/services/alert/alert.doc.js
Expand Up @@ -7,7 +7,7 @@ module.exports = {
params: [
{
name: 'content',
type: 'String, Vue Component',
type: 'String, React Node',
values: 'Any',
description: 'Content to be shown in the dialog.',
required: true
Expand Down
2 changes: 1 addition & 1 deletion src/react/services/toaster/toaster.doc.js
Expand Up @@ -68,7 +68,7 @@ module.exports = {
controller: {
methods: {
pop(theme){
const { toaster } = taslonicVue;
const { toaster } = taslonicReact;
toaster.pop({
title: this.capitalize(theme),
message: `This is a <i>${theme}</i> toast.`,
Expand Down

0 comments on commit 432623a

Please sign in to comment.