You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
503 B
16 lines
503 B
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;
|