-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathNewGuidePage.js
34 lines (31 loc) · 902 Bytes
/
NewGuidePage.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
* Description : 测试新手引导装饰器
*
* Author : cookiej
* Date : 2017/12/28
* Time : 11:33
*/
import React, { Component } from 'react';
import { View, Text } from 'react-native';
import { injectGuidance } from 'rn-beginner-guidance-decorator';
import NewerGuideDialog from './NewerGuideDialog';
const NewGuidePage = () => {
return (
<View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
<Text>Test</Text>
</View>
);
};
export default injectGuidance(NewerGuideDialog, {displayName: 'NewGuidePage'})(NewGuidePage);
// @injectGuidance(NewerGuideDialog, {displayName: 'NewGuidePage'})
// class NewGuidePage extends Component {
// render() {
// return (
// <View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
// <Text>Test</Text>
// </View>
// );
// }
// }
//
// export default NewGuidePage;