UNPKG

drip-table

Version:

A tiny and powerful enterprise-class solution for building tables.

28 lines (27 loc) 1.11 kB
/** * This file is part of the drip-table project. * @link : https://drip-table.jd.com/ * @author : qianjing29 (qianjing29@jd.com) * @modifier : qianjing29 (qianjing29@jd.com) * @copyright: Copyright (c) 2020 JD Network Technology Co., Ltd. */ import './index.less'; import React from 'react'; import { DripTableColumnSchema, DripTableRecordTypeBase, SchemaObject } from "../../../types"; import { DripTableComponentProps } from '../component'; export declare type DTCRichTextColumnSchema = DripTableColumnSchema<'rich-text', { render: string; tooltip?: string; }>; interface DTCRichTextProps<RecordType extends DripTableRecordTypeBase> extends DripTableComponentProps<RecordType, DTCRichTextColumnSchema> { } interface DTCRichTextState { } export default class DTCRichText<RecordType extends DripTableRecordTypeBase> extends React.PureComponent<DTCRichTextProps<RecordType>, DTCRichTextState> { static componentName: DTCRichTextColumnSchema['component']; static schema: SchemaObject; private renderInfoCircle; private renderToolTip; render(): JSX.Element; } export {};