antd-fx67ll-test
Version:
这是一个测试着玩的私服antd项目,完全照抄v4.16.6的antd源码,请勿使用,仅做发布测试(因每次发布必须要升版本,如发现版本出入请忽略,与官方无关)
16 lines (15 loc) • 503 B
TypeScript
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<PresetColorType, string>;
children?: React.ReactNode;
placement?: RibbonPlacement;
}
declare const Ribbon: React.FC<RibbonProps>;
export default Ribbon;