import React from 'react'; import { View, ScrollView, StyleSheet } from 'react-native'; import { Chip, withTheme } from 'react-native-elements'; import colors from '../config/colors'; import { Header } from '../components/header'; type ChipsComponentProps = {}; const Chips: React.FunctionComponent = () => { return ( <>
console.log('Icon chip was pressed!')} type="outline" containerStyle={{ marginVertical: 15 }} /> console.log('Icon chip was pressed!')} iconRight type="outline" containerStyle={{ marginVertical: 15 }} /> ); }; const styles = StyleSheet.create({ contentView: { flex: 1, marginTop: 20, }, }); export default withTheme(Chips, '');