From e08802013bb2db3246487ec94b35be51a2e3bf17 Mon Sep 17 00:00:00 2001 From: Leander Furumo Date: Sat, 17 Aug 2024 02:28:58 +0200 Subject: [PATCH] change error box border style --- src/components/FormErrors.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/FormErrors.tsx b/src/components/FormErrors.tsx index 16012ef..1f32e82 100644 --- a/src/components/FormErrors.tsx +++ b/src/components/FormErrors.tsx @@ -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 }) => { @@ -41,6 +42,8 @@ const styles = StyleSheet.create({ backgroundColor: '#fecaca', padding: 12, borderRadius: 4, + borderWidth: 1, + borderColor: theme.colors.danger }, icon: { marginRight: 8,