Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pro-blocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
pro-blocks
Commits
e97c03e9
Commit
e97c03e9
authored
Sep 25, 2018
by
Rayron Victor
Committed by
陈帅
Sep 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix wrong placed `getBreadcrumb` module declaration
parent
2ca4fc9a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
src/components/PageHeader/breadcrumb.d.ts
src/components/PageHeader/breadcrumb.d.ts
+6
-0
src/components/PageHeader/index.d.ts
src/components/PageHeader/index.d.ts
+0
-2
src/components/PageHeader/index.test.js
src/components/PageHeader/index.test.js
+1
-1
No files found.
src/components/PageHeader/breadcrumb.d.ts
0 → 100644
View file @
e97c03e9
import
*
as
React
from
'
react
'
;
import
{
IPageHeaderProps
}
from
'
./index
'
export
default
class
BreadcrumbView
extends
React
.
Component
<
IPageHeaderProps
,
any
>
{}
export
function
getBreadcrumb
(
breadcrumbNameMap
:
Object
,
url
:
string
):
Object
;
src/components/PageHeader/index.d.ts
View file @
e97c03e9
...
...
@@ -20,6 +20,4 @@ export interface IPageHeaderProps {
hiddenBreadcrumb
?:
boolean
;
}
export
function
getBreadcrumb
(
breadcrumbNameMap
:
Object
,
url
:
string
):
typeof
Object
;
export
default
class
PageHeader
extends
React
.
Component
<
IPageHeaderProps
,
any
>
{}
src/components/PageHeader/index.test.js
View file @
e97c03e9
import
{
getBreadcrumb
}
from
'
./
index
'
;
import
{
getBreadcrumb
}
from
'
./
breadcrumb
'
;
import
{
urlToList
}
from
'
../_utils/pathTools
'
;
const
routerData
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment