/** * * 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 * as React from 'react'; import { LiteralUnion } from '../../_util/type'; import { PresetColorType } from '../../_util/colors'; declare type RibbonPlacement = 'start' | 'end'; export interface RibbonProps { className?: string; prefixCls?: string; style?: React.CSSProperties; text?: React.ReactNode; color?: LiteralUnion; children?: React.ReactNode; placement?: RibbonPlacement; } declare const Ribbon: React.FC; export default Ribbon;