-
Notifications
You must be signed in to change notification settings - Fork 427
/
Copy pathCustomDrawerButton.js
41 lines (34 loc) · 967 Bytes
/
CustomDrawerButton.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
35
36
37
38
39
40
41
/**
* Created by guoshuyu on 2017/11/10.
*/
import React, {Component} from 'react';
import {
View, Text, TouchableOpacity
} from 'react-native';
import PropTypes from 'prop-types';
import {Router, Actions, Scene} from 'react-native-router-flux';
import styles from "../../style"
import I18n from '../../style/i18n'
import * as Constant from '../../style/constant'
import Icon from 'react-native-vector-icons/FontAwesome'
/**
* 自定义搜索过滤按键
*/
class CustomDrawerButton extends Component {
componentDidMount() {
}
componentWillUnmount() {
}
render() {
return (
<View style={[styles.centered, {
marginRight: Constant.normalMarginEdge,
marginTop: Constant.normalMarginEdge,
paddingLeft: 20
}]}>
<Icon name={'filter'} size={20} color={Constant.miWhite}/>
</View>
)
}
}
export default CustomDrawerButton