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 { |
|||
color?: string; |
|||
height: number; |
|||
data: Array<{ |
|||
x: number; |
|||
x: number | string; |
|||
y: number; |
|||
}>; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
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 { |
|||
title: React.ReactNode; |
|||
color?: string; |
|||
height: number; |
|||
percent: number; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
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 { |
|||
title?: React.ReactNode | string; |
|||
subTitle?: React.ReactNode | string; |
|||
total?: React.ReactNode | string; |
|||
status?: "up" | "down"; |
|||
status?: 'up' | 'down'; |
|||
theme?: string; |
|||
gap?: number; |
|||
subTotal?: number; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
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 { |
|||
type: "success" | "error"; |
|||
type: 'success' | 'error'; |
|||
title: React.ReactNode; |
|||
description?: React.ReactNode; |
|||
extra?: React.ReactNode; |
|||
actions?: React.ReactNode; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
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 { |
|||
colorful?: boolean; |
|||
flag: "up" | "down"; |
|||
flag: 'up' | 'down'; |
|||
style?: React.CSSProperties; |
|||
} |
|||
|
|||
export default class Trend extends React.Component<TrendProps, any> {} |
|||
|
|||
Loading…
Reference in new issue