Skip to content

Commit ffcb65b

Browse files
authored
docs: fix Capitalization on default NotificationType (#2506)
1 parent 85e27d8 commit ffcb65b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

haptics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ For example, call this when a user has lifted their finger from a control
166166

167167
| Prop | Type | Description | Default | Since |
168168
| ---------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | ----- |
169-
| **`type`** | <code><a href="#notificationtype">NotificationType</a></code> | Notification Feedback Type The type of notification feedback generated by a [UINotificationFeedbackGenerator](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) object. | <code>NotificationType.SUCCESS</code> | 1.0.0 |
169+
| **`type`** | <code><a href="#notificationtype">NotificationType</a></code> | Notification Feedback Type The type of notification feedback generated by a [UINotificationFeedbackGenerator](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) object. | <code>NotificationType.Success</code> | 1.0.0 |
170170

171171

172172
#### VibrateOptions

haptics/src/definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export interface NotificationOptions {
8686
*
8787
* The type of notification feedback generated by a [UINotificationFeedbackGenerator](https://developer.apple.com/documentation/uikit/uinotificationfeedbacktype) object.
8888
*
89-
* @default NotificationType.SUCCESS
89+
* @default NotificationType.Success
9090
* @since 1.0.0
9191
*/
9292
type: NotificationType;

0 commit comments

Comments
 (0)