Make broadcast picker required in iOS only
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
import React from 'react';
|
||||
import SystemBroadcastPicker from './ios-native-components/BBBN_SystemBroadcastPicker';
|
||||
|
||||
const BroadcastPicker = ({children, title}): Node => {
|
||||
return (
|
||||
<SystemBroadcastPicker
|
||||
style={{marginTop: 50, height: 50, widht: 50, backgroundColor: '#EEE'}}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default BroadcastPicker;
|
||||
24
react/Header.js
Normal file
24
react/Header.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import React from 'react';
|
||||
import SystemBroadcastPicker from './ios/native-components/BBBN_SystemBroadcastPicker';
|
||||
import {Platform, StyleSheet} from 'react-native';
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
broacastPicker: {
|
||||
...Platform.select({
|
||||
ios: {
|
||||
marginTop: 50,
|
||||
height: 50,
|
||||
widht: 50,
|
||||
backgroundColor: '#EEE',
|
||||
},
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
const Header = ({children, title}): Node => {
|
||||
return Platform.select({
|
||||
ios: <SystemBroadcastPicker style={styles.broacastPicker} />,
|
||||
});
|
||||
};
|
||||
|
||||
export default Header;
|
||||
Reference in New Issue
Block a user