Skip to content

Commit

Permalink
chore: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Dec 26, 2024
1 parent 612d038 commit b9c56e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/file-list/files.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,15 @@
"name": "test.txt",
"size": 1024,
"directory": false
},
{
"name": "folder 1",
"directory": true
},
{
"name": "picture.jpg",
"thumbnail": "",
"size": 2048,
"directory": false
}
]
3 changes: 2 additions & 1 deletion src/file-list/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export interface IOptions extends IComponentOptions {

export interface IFile {
name: string
size: number
thumbnail?: string
size?: number
directory: boolean
}

Expand Down

0 comments on commit b9c56e6

Please sign in to comment.