Skip to content

Commit 13291b7

Browse files
ref: Convert BranchDirEntry to tsx (#3810)
1 parent ad46ee0 commit 13291b7

File tree

8 files changed

+209
-301
lines changed

8 files changed

+209
-301
lines changed

src/shared/ContentsTable/TableEntries/BaseEntries/DirEntry.tsx

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
import A from 'ui/A'
22
import Icon from 'ui/Icon'
33

4+
interface DirEntryProps {
5+
linkRef?: string
6+
name: string
7+
urlPath?: string
8+
runPrefetch?: () => Promise<void>
9+
pageName?: string
10+
commitSha?: string
11+
queryParams?: any
12+
}
13+
414
function DirEntry({
515
linkRef,
616
name,
@@ -32,14 +42,4 @@ function DirEntry({
3242
)
3343
}
3444

35-
interface DirEntryProps {
36-
linkRef?: string
37-
name: string
38-
urlPath?: string
39-
runPrefetch?: () => Promise<void>
40-
pageName?: string
41-
commitSha?: string
42-
queryParams?: any
43-
}
44-
4545
export default DirEntry

src/shared/ContentsTable/TableEntries/BranchEntries/BranchDirEntry.jsx

-45
This file was deleted.

src/shared/ContentsTable/TableEntries/BranchEntries/BranchDirEntry.test.jsx

-201
This file was deleted.

0 commit comments

Comments
 (0)