@hellobetterdigitalnz/selwynui 0.0.1-13 → 0.0.1-15
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
|
@@ -119,11 +119,6 @@ const ImageContentFullTemplate: Story = {
|
|
|
119
119
|
<ImageContent
|
|
120
120
|
rendition={'full'}
|
|
121
121
|
pillar={'live'}
|
|
122
|
-
images={{
|
|
123
|
-
single: [
|
|
124
|
-
'https://images.pexels.com/photos/1563356/pexels-photo-1563356.jpeg',
|
|
125
|
-
],
|
|
126
|
-
}}
|
|
127
122
|
list={[
|
|
128
123
|
{
|
|
129
124
|
id:'1',
|
|
@@ -152,11 +147,6 @@ const ImageContentFullTemplate: Story = {
|
|
|
152
147
|
<ImageContent
|
|
153
148
|
rendition={'full'}
|
|
154
149
|
pillar={'live'}
|
|
155
|
-
images={{
|
|
156
|
-
single: [
|
|
157
|
-
'https://images.pexels.com/photos/1563356/pexels-photo-1563356.jpeg',
|
|
158
|
-
],
|
|
159
|
-
}}
|
|
160
150
|
list={[
|
|
161
151
|
{
|
|
162
152
|
id:'1',
|
|
@@ -53,9 +53,9 @@ const ImageContent = (props: ImageContentProps) => {
|
|
|
53
53
|
</>)}
|
|
54
54
|
</h3>
|
|
55
55
|
</div>
|
|
56
|
-
<div className={styles.desc}>
|
|
57
|
-
|
|
58
|
-
</div>
|
|
56
|
+
{content && <div className={styles.desc}>
|
|
57
|
+
<p>{content}</p>
|
|
58
|
+
</div>}
|
|
59
59
|
{list && <ul className={styles.list}>
|
|
60
60
|
{list.map((i) => (
|
|
61
61
|
<li key={i.id}>
|