17 lines
630 B
TypeScript
17 lines
630 B
TypeScript
import React from 'react';
|
|
import { WebComponentProps } from '../../types/Page';
|
|
import { AttrRender, OakAbsAttrJudgeDef, ED, ColumnMapType } from '../../types/AbstractComponent';
|
|
export default function Render(props: WebComponentProps<ED, keyof ED, false, {
|
|
entity: string;
|
|
title: string;
|
|
bordered: boolean;
|
|
layout: 'horizontal' | 'vertical';
|
|
data: any;
|
|
handleClick?: (id: string, action: string) => void;
|
|
column: ColumnMapType;
|
|
renderData: AttrRender[];
|
|
judgeAttributes: OakAbsAttrJudgeDef[];
|
|
}, {
|
|
getColor: (attr: string, value: any) => `#${string}` | undefined;
|
|
}>): React.JSX.Element;
|