dhre-ui-kit 0.0.52 → 0.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhre-ui-kit",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "main": "src/index.ts",
5
5
  "files": [
6
6
  "src",
@@ -1,4 +1,4 @@
1
- import React, {useState} from 'react';
1
+ import React from 'react';
2
2
  import {View, Text, TextInput, Pressable} from 'react-native';
3
3
  import CustomText from '../customText/CustomText';
4
4
 
@@ -7,13 +7,15 @@ const FeedbackForm = ({
7
7
  title,
8
8
  clearAllData,
9
9
  handleSendFeedback,
10
+ feedback,
11
+ setFeedback,
10
12
  }: {
11
13
  title: string;
14
+ feedback: string;
12
15
  clearAllData?: () => void;
13
16
  handleSendFeedback?: () => void;
17
+ setFeedback: (val: string) => void;
14
18
  }) => {
15
- const [feedback, setFeedback] = useState('');
16
-
17
19
  const maxChars = 200;
18
20
 
19
21
  return (
@@ -171,6 +171,7 @@ export const DHRE_DEFAULT = {
171
171
  DH_ERROR: '#EB382D',
172
172
  DH_INFO: '#339ECF',
173
173
  DH_SEMENTIC_ERROR: '#EB0542',
174
+ DH_SEMENTIC_WARNING: '#EB8425',
174
175
  };
175
176
 
176
177
  export const DHRE_COLORS_TEXT = {