Skip to content

Commit

Permalink
fix(native-modules-android.md): rename createCalendarEventCallback (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuayoes authored Sep 26, 2022
1 parent 400d509 commit 905824a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/native-modules-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ In JavaScript, you can then check the first argument to see if an error was pass

```jsx
const onPress = () => {
CalendarModule.createCalendarEventCallback(
CalendarModule.createCalendarEvent(
'testName',
'testLocation',
(error, eventId) => {
Expand Down Expand Up @@ -659,7 +659,7 @@ Then in JavaScript you can add a separate callback for error and success respons

```jsx
const onPress = () => {
CalendarModule.createCalendarEventCallback(
CalendarModule.createCalendarEvent(
'testName',
'testLocation',
(error) => {
Expand Down

0 comments on commit 905824a

Please sign in to comment.