added new reminder modal

This commit is contained in:
ivic00
2024-08-03 19:44:02 +02:00
parent c3058e4464
commit 33421b2ef4
5 changed files with 321 additions and 16 deletions

View File

@ -0,0 +1,34 @@
import { StyleSheet, View } from "react-native";
import React from "react";
import { Text, Button } from "react-native-ui-lib";
interface ButtonProps {
title: string;
size: keyof typeof Button.sizes;
onPress: () => void;
}
const ButtonOutlined = (props: ButtonProps) => {
const { size, onPress, title } = props;
return (
<Button style={styles.button} size={size} onPress={onPress} avoidMinWidth>
<Text text80L style={styles.buttonText}>
{title}
</Text>
</Button>
);
};
export default ButtonOutlined;
const styles = StyleSheet.create({
button: {
backgroundColor: "white",
color: "black",
borderColor: "lightgray",
borderWidth: 1,
borderRadius: 5,
padding: 0,
marginHorizontal: 0
},
buttonText: {
},
});