antd
Version:
An enterprise-class UI design language and React components implementation
13 lines (12 loc) • 547 B
TypeScript
import * as React from 'react';
import RcRate from '@rc-component/rate';
import type { SizeType } from '../config-provider/SizeContext';
import type { TooltipProps } from '../tooltip';
type RcRateProps = React.ComponentPropsWithoutRef<typeof RcRate>;
export interface RateProps extends RcRateProps {
rootClassName?: string;
tooltips?: (TooltipProps | string)[];
size?: SizeType;
}
declare const Rate: React.ForwardRefExoticComponent<RateProps & React.RefAttributes<import("@rc-component/rate/lib/Rate").RateRef>>;
export default Rate;