make header component, clean up styles, scrollview + graph

This commit is contained in:
Loewy
2024-02-21 17:20:30 -08:00
parent a560ebdb70
commit 36041dd41b
5 changed files with 115 additions and 35 deletions

View File

@@ -1,5 +1,6 @@
import React from "react";
import { StyleSheet, Text, View } from "react-native";
import { borders } from "../../styles";
type StatItem = {
title: string;
@@ -31,12 +32,11 @@ const styles = StyleSheet.create({
padding: 5,
},
item: {
borderLeftWidth: 0.5,
borderRightColor: "lightgrey",
marginBottom: 10,
...borders.dottedLeftBorder,
},
title: {
fontSize: 16,
fontSize: 15,
color: "grey",
textAlign: "center",
},