notes search

This commit is contained in:
2023-04-29 14:56:48 +02:00
parent 1d6826e255
commit 4cc7c01365
8 changed files with 87 additions and 27 deletions

View File

@@ -1,3 +1,5 @@
import shortid from 'shortid'
export const defaultNotes: BaseNote[] = [
{
isRoot: true,
@@ -8,13 +10,14 @@ export const defaultNotes: BaseNote[] = [
* Click on **Mindmap mode** in the menu left to visualize your notes
\n
Let's get started!`,
created: 0,
modified: 0,
},
{
title: 'brackets',
content: `If you type square brackets around text a link is created automatically. Like magic!`,
created: 0,
modified: 0,
},
]
].map((note) => ({
id: shortid.generate(),
created: new Date().getTime(),
modified: new Date().getTime(),
...note,
}))