@visns-studio/visns-components 2.3.4 → 2.3.5

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.
@@ -110,6 +110,17 @@ function GenericDetail({ setting, urlParam, userProfile }) {
110
110
  return value ? 'Yes' : 'No';
111
111
  case 'latest_notes':
112
112
  return formatNoteValue();
113
+ case 'richtext':
114
+ if (value) {
115
+ const lines = value.split('\n');
116
+ return (
117
+ <>
118
+ {lines.map((line, index) => (
119
+ <p key={index}>{line}</p>
120
+ ))}
121
+ </>
122
+ );
123
+ }
113
124
  case 'total':
114
125
  return formatTotalValue();
115
126
  default:
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "react-dom": "^17.0.1"
43
43
  },
44
44
  "name": "@visns-studio/visns-components",
45
- "version": "2.3.4",
45
+ "version": "2.3.5",
46
46
  "description": "Various packages to assist in the development of our Custom Applications.",
47
47
  "main": "index.js",
48
48
  "scripts": {