You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
@@ -23,6 +24,7 @@ content = 'Can be a string or a number'
23
24
24
25
```javascript
25
26
<InfoTile
27
+
width =3
26
28
content =''
27
29
icon ='fa-envelope-o'
28
30
stats ='1,410'
@@ -32,26 +34,26 @@ content = 'Can be a string or a number'
32
34
```
33
35

34
36
35
-
You can optionally display a progress status and bar by passing the [ProgressBar](./js/components/page-widgets/info-tile/progress-bar.js) component as props.children
37
+
You can optionally display a progress status and bar by passing the [ProgressBar](./js/components/widgets/info-tile/progress-bar.js) component as props.children
@@ -168,7 +181,7 @@ notifications = 'Can be a string or a number' (Number of notifications)
168
181
title ='Can be a string or a number'
169
182
```
170
183
171
-
Pass the [Conversations](./js/components/page-widgets/chat-box/conversations.js) component as props.children to add chat messages. It accepts an array of objects containing chat information.
184
+
Pass the [Conversations](./js/components/widgets/chat-box/conversations.js) component as props.children to add chat messages. It accepts an array of objects containing chat information.
Pass the [Contacts](./js/components/page-widgets/chat-box/contacts.js) component as props.children to add contacts in the right drawer. It accepts an array of objects containing contact information
197
+
Pass the [Contacts](./js/components/widgets/chat-box/contacts.js) component as props.children to add contacts in the right drawer. It accepts an array of objects containing contact information
A card to display profile information in social media.
249
263
250
264
#### Usage:
251
265
252
-
Props: This component takes 5 values from props, 1 is optional
266
+
Props: This component takes 7 values from props, 1 is optional
253
267
254
268
```javascript
269
+
width =3 (Sets the size/width)
255
270
theme ='bg-yellow'/'bg-aqua-active'/'bg-red' (Optional, To apply background color),
256
271
displayName ='String'
257
272
description ='String' (Description below the display name)
@@ -260,7 +275,7 @@ coverPicture = 'url of the image' (Optional cover picture, this will overwrite t
260
275
pictureAlignment ='left' (Display picture is center aligned by default, can be left-aligned)
261
276
```
262
277
263
-
You can choose between [ProfileInfoBlocks](./js/components/page-widgets/profile-card/profile-info-blocks.js) component or [ProfileInfoList](./js/components/page-widgets/profile-card/profile-info-list.js) component to display additional meta data in the profile card. You have to pass them as props.children.
278
+
You can choose between [ProfileInfoBlocks](./js/components/widgets/profile-card/profile-info-blocks.js) component or [ProfileInfoList](./js/components/widgets/profile-card/profile-info-list.js) component to display additional meta data in the profile card. You have to pass them as props.children.
A post to b displayed in a news feed page on a social network.
353
370
354
371
#### Usage:
355
372
356
-
Props: This component takes 7 values from props.
373
+
Props: This component takes 8 values from props.
357
374
358
375
```javascript
376
+
width =3 (Sets the size/width)
359
377
displayName ='John Doe'
360
378
displayPicture ='url/of/the/image'
361
379
date ='String'
@@ -365,7 +383,7 @@ attachments = (An embedded link within the post containing title, image and des
365
383
comments = (Comments on the post)
366
384
```
367
385
368
-
The Post component uses [Comment](./js/components/page-widgets/post/comment.js) component to render comments passed from props.comments. It accepts 4 values from props
386
+
The Post component uses [Comment](./js/components/widgets/post/comment.js) component to render comments passed from props.comments. It accepts 4 values from props
Post also uses [Attachment](./js/components/page-widgets/post/attachment.js) component to render attachments passed from props.attachments. It takes 4 values from props
395
+
Post also uses [Attachment](./js/components/widgets/post/attachment.js) component to render attachments passed from props.attachments. It takes 4 values from props
You can use [SocialInfo](./js/components/page-widgets/post/social-info.js) component to show additional information, such as likes, shares, views etc. Pass it as children of Post
404
+
You can use [SocialInfo](./js/components/widgets/post/social-info.js) component to show additional information, such as likes, shares, views etc. Pass it as children of Post
387
405
388
406
```javascript
389
407
var metaInfo ='50 likes - 10 comments';
390
408
391
409
<SocialInfo info={metaInfo} />
392
410
```
393
411
394
-
You can use [SocialButton](./js/components/page-widgets/post/social-button.js) component to render buttons such as 'like' or 'share'. Pass it as children of Post. It accepts 3 values from props
412
+
You can use [SocialButton](./js/components/widgets/post/social-button.js) component to render buttons such as 'like' or 'share'. Pass it as children of Post. It accepts 3 values from props
395
413
396
414
```javascript
397
415
position ='left'/'right' (optional, which side should the button appear - default is left)
0 commit comments