diff --git a/docs/reference/react-sdk.md b/docs/reference/react-sdk.md index 4e5b363..6cfe1c5 100644 --- a/docs/reference/react-sdk.md +++ b/docs/reference/react-sdk.md @@ -135,7 +135,7 @@ For example, the web push service worker is placed at `public/service` folder an ### webPushOptInMessage -The `webPushOptInMessage` controls whether the browser automatically prompts users for notification permissions (true or 'AUTOMATIC') or suppresses the prompt (false). It is set to `"AUTOMATIC"` by default. +The `webPushOptInMessage` controls whether the browser automatically prompts users for notification permissions (`true` or `'AUTOMATIC'`) or suppresses the prompt (`false`). It is set to `"AUTOMATIC"` by default. ```jsx @@ -561,7 +561,7 @@ notificiationapi.setWebPushOptIn(true); ## setWebPushOptInMessage -The `setWebPushOptInMessage` controls whether the browser automatically prompts users for notification permissions (true or 'AUTOMATIC') or suppresses the prompt (false). It can be set to either 'AUTOMATIC' or a boolean value. It is set to `"AUTOMATIC"` by default. It is an alternative to `webPushOptInMessage` inside the `` component. +The `setWebPushOptInMessage` controls whether the browser automatically prompts users for notification permissions (`true` or `'AUTOMATIC'`) or suppresses the prompt (`false`). It is set to `"AUTOMATIC"` by default. It is an alternative to `webPushOptInMessage` inside the `` component. ```javascript notificationapi.setWebPushOptInMessage('AUTOMATIC');