From 048e4c1a2b63dbeec7eec8ad4f980c3887662389 Mon Sep 17 00:00:00 2001 From: Pedro Bilro Date: Tue, 24 Feb 2026 10:27:01 +0000 Subject: [PATCH] docs: fix Capitalization on default NotificationType --- README.md | 2 +- src/definitions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa9ffb7..a606021 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ For example, call this when a user has lifted their finger from a control | Prop | Type | Description | Default | Since | | ---------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | ----- | -| **`type`** | NotificationType | Notification Feedback Type The type of notification feedback generated by a [UINotificationFeedbackGenerator](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) object. | NotificationType.SUCCESS | 1.0.0 | +| **`type`** | NotificationType | Notification Feedback Type The type of notification feedback generated by a [UINotificationFeedbackGenerator](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) object. | NotificationType.Success | 1.0.0 | #### VibrateOptions diff --git a/src/definitions.ts b/src/definitions.ts index aa9f61b..0d1da91 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -86,7 +86,7 @@ export interface NotificationOptions { * * The type of notification feedback generated by a [UINotificationFeedbackGenerator](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) object. * - * @default NotificationType.SUCCESS + * @default NotificationType.Success * @since 1.0.0 */ type: NotificationType;