mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
My lists are done
This commit is contained in:
20
src/components/Menu/Header.tsx
Normal file
20
src/components/Menu/Header.tsx
Normal file
@ -0,0 +1,20 @@
|
||||
import React from 'react'
|
||||
import { StyleSheet, Text } from 'react-native'
|
||||
|
||||
export interface Props {
|
||||
heading: string
|
||||
}
|
||||
|
||||
const MenuHeader: React.FC<Props> = ({ heading }) => {
|
||||
return <Text style={styles.header}>{heading}</Text>
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
header: {
|
||||
marginTop: 12,
|
||||
paddingLeft: 12,
|
||||
paddingRight: 12
|
||||
}
|
||||
})
|
||||
|
||||
export default MenuHeader
|
Reference in New Issue
Block a user