mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Update definition for react-native: Changed import syntax
This commit is contained in:
@@ -21,14 +21,14 @@ For a list of complete Typescript examples: check https://github.com/bgrieder/RN
|
||||
|
||||
|
||||
import * as React from 'react-native'
|
||||
const {
|
||||
import {
|
||||
StyleSheet,
|
||||
Text,
|
||||
View,
|
||||
AppState,
|
||||
AppStateIOS,
|
||||
ViewPagerAndroid
|
||||
} = React
|
||||
} from 'react-native';
|
||||
|
||||
var styles = StyleSheet.create(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user