Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄庭坚
jinfa-platform
Commits
7739f999
Commit
7739f999
authored
Jul 09, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改类型
parent
1c895cc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.tsx
src/components/StatusTag/index.tsx
+3
-3
No files found.
src/components/StatusTag/index.tsx
View file @
7739f999
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2020-08-31 17:52:14
* @Date: 2020-08-31 17:52:14
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-0
6-29 16:13:23
* @LastEditTime: 2021-0
7-09 09:52:55
* @Description: 状态 tag
* @Description: 状态 tag
*/
*/
import
React
from
'react'
;
import
React
,
{
HTMLAttributes
}
from
'react'
;
import
classNames
from
'classnames'
;
import
classNames
from
'classnames'
;
import
styles
from
'./index.less'
;
import
styles
from
'./index.less'
;
...
@@ -14,7 +14,7 @@ export const STATUS_TYPE = ['success', 'warning', 'default', 'danger', 'primary'
...
@@ -14,7 +14,7 @@ export const STATUS_TYPE = ['success', 'warning', 'default', 'danger', 'primary'
export
type
StatusTagProps
=
{
export
type
StatusTagProps
=
{
type
:
'success'
|
'warning'
|
'default'
|
'danger'
|
'primary'
|
'nobility'
;
type
:
'success'
|
'warning'
|
'default'
|
'danger'
|
'primary'
|
'nobility'
;
title
:
React
.
ReactNode
;
title
:
React
.
ReactNode
;
style
?:
{[
key
:
string
]:
any
}
,
style
?:
HTMLAttributes
<
HTMLSpanElement
>
,
};
};
const
StatusTag
:
React
.
FC
<
StatusTagProps
>
=
({
type
,
title
,
style
})
=>
{
const
StatusTag
:
React
.
FC
<
StatusTagProps
>
=
({
type
,
title
,
style
})
=>
{
...
...
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