UNPKG

919 BTypeScriptView Raw
1/// <reference types="react" />
2import type { ComponentToken, InputNumberToken } from './token';
3export type { ComponentToken };
4export declare const genRadiusStyle: ({ componentCls, borderRadiusSM, borderRadiusLG }: InputNumberToken, size: 'lg' | 'sm') => {
5 [x: string]: {
6 [x: string]: {
7 borderStartEndRadius: number;
8 borderEndEndRadius: number;
9 } | {
10 borderStartEndRadius: number;
11 borderEndEndRadius?: undefined;
12 } | {
13 borderEndEndRadius: number;
14 borderStartEndRadius?: undefined;
15 };
16 };
17};
18declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, string, string | undefined];
19export default _default;