UNPKG

@orca-fe/pdf-viewer

Version:
18 lines (17 loc) 681 B
import React from 'react'; import type { ColorPickerProps } from '@orca-fe/painter'; import type { PropsType } from './def'; export interface SimplePropsEditorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> { propsDef?: PropsType[]; value?: Record<string, any>; onChange?: (value: Record<string, any>) => void; colorTriggerProps?: ColorPickerProps['triggerProps']; } /** * 用于图形的属性编辑器,支持的属性类型有: * - strokeWidth 绘图宽度 * @param props * @constructor */ declare const SimplePropsEditor: (props: SimplePropsEditorProps) => import("react/jsx-runtime").JSX.Element; export default SimplePropsEditor;