mirror of
https://github.com/zhigang1992/react-native-vector-icons.git
synced 2026-06-16 05:16:43 +08:00
30 lines
561 B
JavaScript
30 lines
561 B
JavaScript
import React, { Component } from 'react';
|
|
import {
|
|
AppRegistry,
|
|
NavigatorIOS,
|
|
StyleSheet,
|
|
} from 'react-native';
|
|
|
|
import IconSetList from './IconSetList';
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
},
|
|
});
|
|
|
|
export default function IconExplorer(props) {
|
|
return (
|
|
<NavigatorIOS
|
|
style={styles.container}
|
|
initialRoute={{
|
|
title: 'IconExplorer',
|
|
component: IconSetList,
|
|
}}
|
|
itemWrapperStyle={styles.itemWrapper}
|
|
/>
|
|
);
|
|
}
|
|
|
|
AppRegistry.registerComponent('IconExplorer', () => IconExplorer);
|