inital
This commit is contained in:
17
components/Create.js
Normal file
17
components/Create.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
import { HeaderButton } from 'react-navigation-header-buttons';
|
||||
import { Ionicons } from '@expo/vector-icons';
|
||||
import { Platform } from 'react-native';
|
||||
|
||||
const CreateSwitButton = (props) => {
|
||||
return (
|
||||
<HeaderButton
|
||||
{...props}
|
||||
IconComponent={Ionicons}
|
||||
iconSize={23}
|
||||
color={Platform.OS === 'android' ? 'white' : 'blue'}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default CreateSwitButton;
|
||||
Reference in New Issue
Block a user