@chief-editor/brick-control
Version:
Control Brick for chief editor
13 lines (12 loc) • 659 B
TypeScript
/// <reference types="react" />
import { IInputNumberProps } from '@chief-editor/ui';
import { RadiusInputProps } from './type';
import '../../../css/RadiusInput/index.less';
export declare type SideType = 'allSide' | 'oneSide';
export declare type InputNumberWrapProps = Omit<IInputNumberProps, 'onValueChange'> & {
idx: number;
onValueChange: (idx: number, value: number) => void;
};
export declare const InputNumberWrap: ({ idx, onValueChange, ...extra }: InputNumberWrapProps) => JSX.Element;
export declare const getRadiusString: (val: number | number[]) => string;
export declare function RadiusInputBrick(props: RadiusInputProps): JSX.Element;