-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e5541b
commit 34dfe0d
Showing
70 changed files
with
607 additions
and
179 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,11 +1,12 @@ | ||
import { Avatar as AntAvatar } from "antd"; | ||
import { AvatarProps as AntAvatarProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface IAvatarProps extends AntAvatarProps { | ||
} | ||
|
||
export const Avatar = (props: IAvatarProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntAvatar {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Badge as AntBadge } from "antd"; | ||
import { BadgeProps as AntBadgeProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface IBadgeProps extends AntBadgeProps { | ||
} | ||
|
||
export const Badge = (props: IBadgeProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntBadge {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Calendar as AntCalendar } from "antd"; | ||
import { CalendarProps as AntCalendarProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ICalendarProps extends AntCalendarProps { | ||
} | ||
|
||
export const Calendar = (props: ICalendarProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntCalendar {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Card as AntCard } from "antd"; | ||
import { CardProps as AntCardProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ICardProps extends AntCardProps { | ||
} | ||
|
||
export const Card = (props: ICardProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntCard {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Carousel as AntCarousel } from "antd"; | ||
import { CarouselProps as AntCarouselProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ICarouselProps extends AntCarouselProps { | ||
} | ||
|
||
export const Carousel = (props: ICarouselProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntCarousel {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Collapse as AntCollapse } from "antd"; | ||
import { CollapseProps as AntCollapseProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ICollapseProps extends AntCollapseProps { | ||
} | ||
|
||
export const Collapse = (props: ICollapseProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntCollapse {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Descriptions as AntDescriptions } from "antd"; | ||
import { DescriptionsProps as AntDescriptionsProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface IDescriptionsProps extends AntDescriptionsProps { | ||
} | ||
|
||
export const Descriptions = (props: IDescriptionsProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntDescriptions {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Image as AntImage } from "antd"; | ||
import { ImageProps as AntImageProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface IImageProps extends AntImageProps { | ||
} | ||
|
||
export const Image = (props: IImageProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntImage {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,14 @@ | ||
import { List as AntList } from "antd"; | ||
import { ListProps as AntListProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface IListProps<T> extends AntListProps<T> { | ||
export interface IListProps extends AntListProps { | ||
} | ||
|
||
export const List = <T extends any>(props: IListProps<T>) => <> | ||
<AntList {...props}/> | ||
</>; | ||
export const List = (props: IListProps) => { | ||
return <ConfigProvider> | ||
<AntList {...props}/> | ||
</ConfigProvider>; | ||
}; | ||
|
||
List.Item = AntList.Item |
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,11 +1,12 @@ | ||
import { Popover as AntPopover } from "antd"; | ||
import { PopoverProps as AntPopoverProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface IPopoverProps extends AntPopoverProps { | ||
} | ||
|
||
export const Popover = (props: IPopoverProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntPopover {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { QRCode as AntQRCode } from "antd"; | ||
import { QRCodeProps as AntQRCodeProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface IQRCodeProps extends AntQRCodeProps { | ||
} | ||
|
||
export const QRCode = (props: IQRCodeProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntQRCode {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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 @@ | ||
import { Segmented as AntSegmented } from "antd"; | ||
import { SegmentedProps as AntSegmentedProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ISegmentedProps extends AntSegmentedProps { | ||
ref?: React.RefObject<HTMLDivElement>; | ||
} | ||
|
||
export const Segmented = (props: ISegmentedProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntSegmented {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Statistic as AntStatistic } from "antd"; | ||
import { StatisticProps as AntStatisticProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface IStatisticProps extends AntStatisticProps { | ||
} | ||
|
||
export const Statistic = (props: IStatisticProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntStatistic {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Table as AntTable } from "antd"; | ||
import { TableProps as AntTableProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ITableProps extends AntTableProps { | ||
} | ||
|
||
export const Table = (props: ITableProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntTable {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Tabs as AntTabs } from "antd"; | ||
import { TabsProps as AntTabsProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ITabsProps extends AntTabsProps { | ||
} | ||
|
||
export const Tabs = (props: ITabsProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntTabs {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Tag as AntTag } from "antd"; | ||
import { TagProps as AntTagProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ITagProps extends AntTagProps { | ||
} | ||
|
||
export const Tag = (props: ITagProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntTag {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Timeline as AntTimeline } from "antd"; | ||
import { TimelineProps as AntTimelineProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ITimelineProps extends AntTimelineProps { | ||
} | ||
|
||
export const Timeline = (props: ITimelineProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntTimeline {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Tooltip as AntTooltip } from "antd"; | ||
import { TooltipPropsWithTitle as AntTooltipPropsWithTitle } from "antd/es/tooltip"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ITooltipProps extends AntTooltipPropsWithTitle { | ||
} | ||
|
||
export const Tooltip = (props: ITooltipProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntTooltip {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
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,11 +1,12 @@ | ||
import { Tour as AntTour } from "antd"; | ||
import { TourProps as AntTourProps } from "antd"; | ||
import { ConfigProvider } from "src/components"; | ||
|
||
export interface ITourProps extends AntTourProps { | ||
} | ||
|
||
export const Tour = (props: ITourProps) => { | ||
return <> | ||
return <ConfigProvider> | ||
<AntTour {...props}/> | ||
</>; | ||
</ConfigProvider>; | ||
}; |
Oops, something went wrong.