Important
|
Error when using NotificationsList component. Object i18n not set. |
Props
notifications Array
Notification list to be displayed in the component.
default: []
Each report has the following properties:
- id Number
-
Parameter id of the notification sent in the detail request.
- message String
-
Message notification.
- created_at String
-
Creation date of the notification.
- read_by_user Boolean
-
Parameter to verify that user read the notification.
notifications: [
{
id: 28813,
message: 'Notification 1',
created_at: '2016-01-13'
},
{
id: 32991,
message: 'Notification 2',
created_at: '2016-01-13'
},
{
id: 43023,
message: 'Notification 3',
created_at: '2016-01-13',
read_by_user: true
}
];
active Boolean
If false, the component is disabled.
default: false