18 lines
672 B
TypeScript
18 lines
672 B
TypeScript
import React from 'react';
|
|
import { Breakpoint } from 'antd';
|
|
import { WebComponentProps } from '../../types/Page';
|
|
import { AttrRender, OakAbsAttrJudgeDef, ED } 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: number | Record<Breakpoint, number>;
|
|
renderData: AttrRender[];
|
|
judgeAttributes: OakAbsAttrJudgeDef[];
|
|
}, {
|
|
getColor: (attr: string, value: any) => `#${string}` | undefined;
|
|
}>): React.JSX.Element;
|