change error box border style

This commit is contained in:
leander committed 2024-08-17 02:28:58 +02:00
1 parent 53d91d457d
commit e08802013b
1 file changed
+3
+3
View File
@@ -2,6 +2,7 @@ import React from 'react';
import { Text, StyleSheet, View } from 'react-native';
import IconExclamationTriangle from 'assets/icons/exclamation-triangle.svg';
import theme from 'src/theme';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const FormErrors = ({ errors }: { errors: Record<string, any> }) => {
@@ -41,6 +42,8 @@ const styles = StyleSheet.create({
backgroundColor: '#fecaca',
padding: 12,
borderRadius: 4,
borderWidth: 1,
borderColor: theme.colors.danger
},
icon: {
marginRight: 8,