-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1945 from XiaoMi/develop
3.8.0
- Loading branch information
Showing
147 changed files
with
3,807 additions
and
1,248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
type DataItem = { | ||
import React from 'react' | ||
|
||
export type BreadcrumbItem = { | ||
content: string | JSX.Element | ||
path?: string | ||
href?: boolean | ||
icon?: string | ||
target?: '_self' | '_blank' | '_parent' | '_top' | ||
} | ||
|
||
interface Props { | ||
data: DataItem[] | ||
export interface BreadcrumbProps { | ||
data: BreadcrumbItem[] | ||
separator?: string | ||
onClick?: (path: string) => void | ||
|
||
} | ||
declare const Breadcrumb: React.ComponentType<Props> | ||
|
||
declare const Breadcrumb: React.ComponentType<BreadcrumbProps> | ||
|
||
export default Breadcrumb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
interface Props { | ||
import React from 'react' | ||
export interface CarouselProps { | ||
duration?: number | ||
showDots?: boolean | ||
showArrows?: boolean | ||
defaultActive?: number | ||
showPages?: boolean | ||
children: JSX.Element[] | ||
style?: CSSProperties | ||
style?: React.CSSProperties | ||
className?: string | ||
} | ||
declare const Carousel: React.ComponentType<Props> | ||
declare const Carousel: React.ComponentType<CarouselProps> | ||
export default Carousel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.