1 | import * as React from 'react';
|
2 | import { LiteralUnion } from '../_util/type';
|
3 | import { PresetColorType } from '../_util/colors';
|
4 | declare type RibbonPlacement = 'start' | 'end';
|
5 | export interface RibbonProps {
|
6 | className?: string;
|
7 | prefixCls?: string;
|
8 | style?: React.CSSProperties;
|
9 | text?: React.ReactNode;
|
10 | color?: LiteralUnion<PresetColorType, string>;
|
11 | children?: React.ReactNode;
|
12 | placement?: RibbonPlacement;
|
13 | }
|
14 | declare const Ribbon: React.FC<RibbonProps>;
|
15 | export default Ribbon;
|