refactor(notes): use shared types and interfaces in components
This commit is contained in:
1 parent
2975b80a94
commit
557e48116a
12 files changed
+16
-57
No files matched your search
@@ -1,9 +1,4 @@
|
||||
import type { Note } from '../types'
|
||||
|
||||
interface NoteListProps {
|
||||
notes: Note[]
|
||||
onSelect: (id: number) => void
|
||||
}
|
||||
import type { NoteListProps } from '../interfaces/note-list'
|
||||
|
||||
const EMPTY_MESSAGE = 'Aucune note pour le moment.\nTouchez + pour en créer une.'
|
||||
|
||||
|
||||
Reference in new issue
Block a user