26 changed files with 110 additions and 55 deletions
@ -1,11 +1,12 @@ |
|||||
import * as React from "react"; |
import * as React from 'react'; |
||||
export interface MiniBarProps { |
export interface MiniBarProps { |
||||
color?: string; |
color?: string; |
||||
height: number; |
height: number; |
||||
data: Array<{ |
data: Array<{ |
||||
x: number; |
x: number | string; |
||||
y: number; |
y: number; |
||||
}>; |
}>; |
||||
|
style?: React.CSSProperties; |
||||
} |
} |
||||
|
|
||||
export default class MiniBar extends React.Component<MiniBarProps, any> {} |
export default class MiniBar extends React.Component<MiniBarProps, any> {} |
||||
|
|||||
@ -1,9 +1,10 @@ |
|||||
import * as React from "react"; |
import * as React from 'react'; |
||||
export interface WaterWaveProps { |
export interface WaterWaveProps { |
||||
title: React.ReactNode; |
title: React.ReactNode; |
||||
color?: string; |
color?: string; |
||||
height: number; |
height: number; |
||||
percent: number; |
percent: number; |
||||
|
style?: React.CSSProperties; |
||||
} |
} |
||||
|
|
||||
export default class WaterWave extends React.Component<WaterWaveProps, any> {} |
export default class WaterWave extends React.Component<WaterWaveProps, any> {} |
||||
|
|||||
@ -0,0 +1,30 @@ |
|||||
|
import * as React from 'react'; |
||||
|
import Button from 'antd/lib/button'; |
||||
|
export interface LoginProps { |
||||
|
defaultActiveKey?: string; |
||||
|
onTabChange?: (key: string) => void; |
||||
|
onSubmit?: (error: any, values: any) => void; |
||||
|
} |
||||
|
|
||||
|
export interface TabProps { |
||||
|
key?: string; |
||||
|
tab?: React.ReactNode; |
||||
|
} |
||||
|
export class Tab extends React.Component<TabProps, any> {} |
||||
|
|
||||
|
export interface LoginItemProps { |
||||
|
name?: string; |
||||
|
rules?: any[]; |
||||
|
onGetCaptcha?: () => void; |
||||
|
} |
||||
|
|
||||
|
export class LoginItem extends React.Component<LoginItemProps, any> {} |
||||
|
|
||||
|
export default class Login extends React.Component<LoginProps, any> { |
||||
|
static Tab: typeof Tab; |
||||
|
static UserName: typeof LoginItem; |
||||
|
static Password: typeof LoginItem; |
||||
|
static Mobile: typeof LoginItem; |
||||
|
static Captcha: typeof LoginItem; |
||||
|
static Submit: typeof Button; |
||||
|
} |
||||
@ -1,12 +1,13 @@ |
|||||
import * as React from "react"; |
import * as React from 'react'; |
||||
export interface NumberInfoProps { |
export interface NumberInfoProps { |
||||
title?: React.ReactNode | string; |
title?: React.ReactNode | string; |
||||
subTitle?: React.ReactNode | string; |
subTitle?: React.ReactNode | string; |
||||
total?: React.ReactNode | string; |
total?: React.ReactNode | string; |
||||
status?: "up" | "down"; |
status?: 'up' | 'down'; |
||||
theme?: string; |
theme?: string; |
||||
gap?: number; |
gap?: number; |
||||
subTotal?: number; |
subTotal?: number; |
||||
|
style?: React.CSSProperties; |
||||
} |
} |
||||
|
|
||||
export default class NumberInfo extends React.Component<NumberInfoProps, any> {} |
export default class NumberInfo extends React.Component<NumberInfoProps, any> {} |
||||
|
|||||
@ -1,10 +1,11 @@ |
|||||
import * as React from "react"; |
import * as React from 'react'; |
||||
export interface ResultProps { |
export interface ResultProps { |
||||
type: "success" | "error"; |
type: 'success' | 'error'; |
||||
title: React.ReactNode; |
title: React.ReactNode; |
||||
description?: React.ReactNode; |
description?: React.ReactNode; |
||||
extra?: React.ReactNode; |
extra?: React.ReactNode; |
||||
actions?: React.ReactNode; |
actions?: React.ReactNode; |
||||
|
style?: React.CSSProperties; |
||||
} |
} |
||||
|
|
||||
export default class Result extends React.Component<ResultProps, any> {} |
export default class Result extends React.Component<ResultProps, any> {} |
||||
|
|||||
@ -1,8 +1,9 @@ |
|||||
import * as React from "react"; |
import * as React from 'react'; |
||||
|
|
||||
export interface TrendProps { |
export interface TrendProps { |
||||
colorful?: boolean; |
colorful?: boolean; |
||||
flag: "up" | "down"; |
flag: 'up' | 'down'; |
||||
|
style?: React.CSSProperties; |
||||
} |
} |
||||
|
|
||||
export default class Trend extends React.Component<TrendProps, any> {} |
export default class Trend extends React.Component<TrendProps, any> {} |
||||
|
|||||
Loading…
Reference in new issue