UNPKG

chowa

Version:

UI component library based on React

21 lines (20 loc) 569 B
/** * @license chowa v1.1.3 * * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn). * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import * as React from 'react'; declare type Theme = 'primary' | 'danger' | 'dark' | 'warning'; export interface BadgeProps { className?: string; style?: React.CSSProperties; count?: number; overflowCount?: number; theme?: Theme; dot?: boolean; } declare const Badge: React.SFC<BadgeProps>; export default Badge;