1import * as React from 'react';
2import { IconButton, Colors } from 'react-native-paper';
3
4const MyComponent = () => (
5 <IconButton
6 icon="camera"
7 color={Colors.red500}
8 size={20}
9 onPress={() => console.log('Pressed')}
10 />
11);
12
13export default MyComponent;