Skip to content

Commit

Permalink
fix: Fix unsupported platforms export (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
milesibastos authored May 31, 2020
1 parent 5efadfd commit e1d169c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DateTimePickerModal.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { Platform } from "react-native";

export default function DateTimePickerModal() {
export function DateTimePickerModal() {
React.useEffect(() => {
console.warn(`DateTimePicker is not supported on: ${Platform.OS}`);
}, []);
Expand Down

0 comments on commit e1d169c

Please sign in to comment.