From b9ff266a18b2989013a3c505cbc56e9e72ef71b9 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Thu, 26 Mar 2026 14:16:47 +0100 Subject: [PATCH] docs: fix Capitalization on default NotificationType --- haptics/README.md | 2 +- haptics/src/definitions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haptics/README.md b/haptics/README.md index 822c07e32..7d45115bc 100644 --- a/haptics/README.md +++ b/haptics/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/haptics/src/definitions.ts b/haptics/src/definitions.ts index aa9f61b8f..0d1da913e 100644 --- a/haptics/src/definitions.ts +++ b/haptics/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;