31 changed files with 144 additions and 119 deletions
@ -0,0 +1,10 @@ |
|||
import * as React from 'react'; |
|||
export interface IAvatarItemProps { |
|||
tips: React.ReactNode; |
|||
src: string; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
export default class AvatarItem extends React.Component<IAvatarItemProps, any> { |
|||
constructor(props: IAvatarItemProps); |
|||
} |
|||
@ -1,23 +1,14 @@ |
|||
import * as React from "react"; |
|||
export interface AvatarItemProps { |
|||
tips: React.ReactNode; |
|||
src: string; |
|||
style?: React.CSSProperties; |
|||
} |
|||
import * as React from 'react'; |
|||
import AvatarItem from './AvatarItem'; |
|||
|
|||
export interface AvatarListProps { |
|||
size?: "large" | "small" | "mini" | "default"; |
|||
export interface IAvatarListProps { |
|||
size?: 'large' | 'small' | 'mini' | 'default'; |
|||
style?: React.CSSProperties; |
|||
children: |
|||
| React.ReactElement<AvatarItem> |
|||
| Array<React.ReactElement<AvatarItem>>; |
|||
} |
|||
|
|||
declare class AvatarItem extends React.Component<AvatarItemProps, any> { |
|||
constructor(props: AvatarItemProps); |
|||
} |
|||
|
|||
export default class AvatarList extends React.Component<AvatarListProps, any> { |
|||
constructor(props: AvatarListProps); |
|||
static Item: typeof AvatarItem; |
|||
export default class AvatarList extends React.Component<IAvatarListProps, any> { |
|||
public static Item: typeof AvatarItem; |
|||
} |
|||
|
|||
@ -1,8 +1,8 @@ |
|||
import * as React from "react"; |
|||
export interface FieldProps { |
|||
export interface IFieldProps { |
|||
label: React.ReactNode; |
|||
value: React.ReactNode; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
export default class Field extends React.Component<FieldProps, any> {} |
|||
export default class Field extends React.Component<IFieldProps, any> {} |
|||
|
|||
@ -1,9 +1,9 @@ |
|||
import * as React from "react"; |
|||
export interface CountDownProps { |
|||
export interface ICountDownProps { |
|||
format?: (time: number) => void; |
|||
target: Date | number; |
|||
onEnd?: () => void; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
export default class CountDown extends React.Component<CountDownProps, any> {} |
|||
export default class CountDown extends React.Component<ICountDownProps, any> {} |
|||
|
|||
@ -0,0 +1,9 @@ |
|||
import * as React from 'react'; |
|||
|
|||
export default class Description extends React.Component< |
|||
{ |
|||
term: React.ReactNode; |
|||
style?: React.CSSProperties; |
|||
}, |
|||
any |
|||
> {} |
|||
@ -1,10 +1,10 @@ |
|||
import * as React from 'react'; |
|||
export interface FooterToolbarProps { |
|||
export interface IFooterToolbarProps { |
|||
extra: React.ReactNode; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
export default class FooterToolbar extends React.Component< |
|||
FooterToolbarProps, |
|||
IFooterToolbarProps, |
|||
any |
|||
> {} |
|||
|
|||
@ -0,0 +1,22 @@ |
|||
import * as React from 'react'; |
|||
export interface INoticeIconData { |
|||
avatar?: string; |
|||
title?: React.ReactNode; |
|||
description?: React.ReactNode; |
|||
datetime?: React.ReactNode; |
|||
extra?: React.ReactNode; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
export interface INoticeIconTabProps { |
|||
list?: INoticeIconData[]; |
|||
title?: string; |
|||
emptyText?: React.ReactNode; |
|||
emptyImage?: string; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
export default class NoticeIconTab extends React.Component< |
|||
INoticeIconTabProps, |
|||
any |
|||
> {} |
|||
@ -0,0 +1,11 @@ |
|||
import * as React from 'react'; |
|||
|
|||
export interface ITagSelectOptionProps { |
|||
value: string | number; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
export default class TagSelectOption extends React.Component< |
|||
ITagSelectOptionProps, |
|||
any |
|||
> {} |
|||
@ -1,23 +1,16 @@ |
|||
import * as React from 'react'; |
|||
export interface TagSelectProps { |
|||
onChange?: (value: Array<string>) => void; |
|||
import TagSelectOption from './TagSelectOption'; |
|||
|
|||
export interface ITagSelectProps { |
|||
onChange?: (value: string[]) => void; |
|||
expandable?: boolean; |
|||
value?: Array<string>| Array<number>; |
|||
style?: React.CSSProperties; |
|||
} |
|||
export interface TagSelectOptionProps { |
|||
value: string| number; |
|||
value?: string[] | number[]; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
export class TagSelectOption extends React.Component< |
|||
TagSelectOptionProps, |
|||
any |
|||
> {} |
|||
|
|||
export default class TagSelect extends React.Component<TagSelectProps, any> { |
|||
static Option: typeof TagSelectOption; |
|||
children: |
|||
export default class TagSelect extends React.Component<ITagSelectProps, any> { |
|||
public static Option: typeof TagSelectOption; |
|||
private children: |
|||
| React.ReactElement<TagSelectOption> |
|||
| Array<React.ReactElement<TagSelectOption>>; |
|||
} |
|||
|
|||
@ -1,9 +1,9 @@ |
|||
import * as React from 'react'; |
|||
|
|||
export interface TrendProps { |
|||
export interface ITrendProps { |
|||
colorful?: boolean; |
|||
flag: 'up' | 'down'; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
export default class Trend extends React.Component<TrendProps, any> {} |
|||
export default class Trend extends React.Component<ITrendProps, any> {} |
|||
|
|||
Loading…
Reference in new issue