16 lines
393 B
TypeScript
16 lines
393 B
TypeScript
import * as React from 'react';
|
|
|
|
type BadgeSeverityType = 'success' | 'info' | 'warn' | 'error' | (string & {});
|
|
|
|
type BadgeSizeType = 'normal' | 'large' | 'xlarge';
|
|
|
|
export interface BadgeProps {
|
|
value?: any;
|
|
severity?: BadgeSeverityType;
|
|
size?: BadgeSizeType;
|
|
style?: object;
|
|
className?: string;
|
|
}
|
|
|
|
export declare class Badge extends React.Component<BadgeProps, any> { }
|