mirror of
https://github.com/zhigang1992/react-native-gifted-chat.git
synced 2026-04-26 05:24:54 +08:00
This file was ending with 2 semicolons, this produces Unnecessary semicolon. By this update the file is error free.
28 lines
765 B
JavaScript
28 lines
765 B
JavaScript
module.exports = [
|
|
{
|
|
_id: Math.round(Math.random() * 1000000),
|
|
text:
|
|
"It uses the same design as React, letting you compose a rich mobile UI from declarative components https://facebook.github.io/react-native/",
|
|
createdAt: new Date(Date.UTC(2016, 7, 30, 17, 20, 0)),
|
|
user: {
|
|
_id: 1,
|
|
name: "Developer"
|
|
}
|
|
},
|
|
{
|
|
_id: Math.round(Math.random() * 1000000),
|
|
text: "React Native lets you build mobile apps using only JavaScript",
|
|
createdAt: new Date(Date.UTC(2016, 7, 30, 17, 20, 0)),
|
|
user: {
|
|
_id: 1,
|
|
name: "Developer"
|
|
}
|
|
},
|
|
{
|
|
_id: Math.round(Math.random() * 1000000),
|
|
text: "This is a system message.",
|
|
createdAt: new Date(Date.UTC(2016, 7, 30, 17, 20, 0)),
|
|
system: true
|
|
}
|
|
];
|