dmeditor
Version:
dmeditor is a block-style visual editor. Data is in json format.
16 lines (15 loc) • 707 B
TypeScript
import * as React from 'react';
export declare const CellOperation: import("@emotion/styled").StyledComponent<{
theme?: import("@emotion/react").Theme | undefined;
as?: React.ElementType<any> | undefined;
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
export type DataListSettingProps = {
data: Array<Record<string, string | boolean>>;
schema: Array<{
name: string;
identifier: string;
type: 'text' | 'image' | 'link' | 'radio';
}>;
onChange: (newData: Array<Record<string, string | boolean>>) => void;
};
export declare const DataListSettings: (props: DataListSettingProps) => import("react/jsx-runtime").JSX.Element;