/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import React from 'react'; import AntBadge, { BadgeProps as IProps } from './component'; import New from './New'; export * from './component'; export interface BadgeProps extends IProps { position?: 'topRight'; align?: 'inner' | 'outer'; } interface CompoundedComponent extends React.FC { Ribbon: typeof AntBadge.Ribbon; New: typeof New; } declare const Badge: CompoundedComponent; export default Badge;