ywana-core8 0.1.66 → 0.1.67

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": "ywana-core8",
3
- "version": "0.1.66",
3
+ "version": "0.1.67",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -16,7 +16,7 @@ export const ContentViewer = (props) => {
16
16
  const sections = content.sections()
17
17
  const value = content.value()
18
18
  return (
19
- <div className="content-viewer">
19
+ <div className="content-viewer">xxx
20
20
  {sections.map(section => {
21
21
  const { title, fields } = section
22
22
  return (
@@ -55,6 +55,8 @@ const FieldViewer = (props) => {
55
55
  return <EntityViewer field={field} value={value} />
56
56
  case TYPES.ARRAY:
57
57
  return item === TYPES.STRING ? <ListViewer field={field} value={value} /> : <ArrayViewer label={label} item={item} value={value} />
58
+ case "Image":
59
+ return <img className={field.id} src={value} />
58
60
  default:
59
61
  return <div>{label}</div>
60
62
  }