UNPKG

linkmore-design

Version:

🌈 πŸš€lmη»„δ»ΆεΊ“γ€‚πŸš€

16 lines (15 loc) β€’ 513 B
import * as React from 'react'; import type { PresetColorType } from '../_util/colors'; import type { LiteralUnion } from '../_util/type'; 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;