Skip to content

Commit 34841c6

Browse files
DevmateDropRctExportMethod Botfacebook-github-bot
authored andcommitted
xplat/js/react-native-github/packages/react-native/Libraries/Vibration/RCTVibration.mm
Summary: ...CodemodService Feedback group about this specific diff. * If you have feedback, comment on the diff and use an appropriate diff action. This [diff was created](https://www.internalfb.com/intern/sandcastle/job/18014401344983091/) with [CodemodService](https://www.internalfb.com/codemod_service/CodemodConfigDevmateDropRctExportMethod). Reviewed By: cortinico Differential Revision: D114846017
1 parent d89c432 commit 34841c6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/react-native/Libraries/Vibration/RCTVibration.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ - (void)vibrate
2525
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
2626
}
2727

28-
RCT_EXPORT_METHOD(vibrate : (double)pattern)
28+
- (void)vibrate:(double)pattern
2929
{
3030
[self vibrate];
3131
}
@@ -36,12 +36,12 @@ - (void)vibrate
3636
return std::make_shared<facebook::react::NativeVibrationSpecJSI>(params);
3737
}
3838

39-
RCT_EXPORT_METHOD(vibrateByPattern : (NSArray *)pattern repeat : (double)repeat)
39+
- (void)vibrateByPattern:(NSArray *)pattern repeat:(double)repeat
4040
{
4141
RCTLogError(@"Vibration.vibrateByPattern does not have an iOS implementation");
4242
}
4343

44-
RCT_EXPORT_METHOD(cancel)
44+
- (void)cancel
4545
{
4646
RCTLogError(@"Vibration.cancel does not have an iOS implementation");
4747
}

0 commit comments

Comments
 (0)