drip-table
Version:
A tiny and powerful enterprise-class solution for building tables.
36 lines (35 loc) • 1.35 kB
TypeScript
import './index.less';
import React from 'react';
import { DripTableColumnSchema, DripTableRecordTypeBase, SchemaObject } from "../../../types";
import { DripTableComponentProps } from '../component';
export declare type DTCPopUpPageColumnSchema = DripTableColumnSchema<'pop-up-page', {
label?: string;
buttonType?: 'primary' | 'dashed' | 'text' | 'link';
shape?: 'circle' | 'round';
size?: 'large' | 'middle' | 'small';
title?: string;
auxiliaryDesc?: string;
embeddedSafetyPadding?: string | number;
link: string;
width?: string | number;
maxHeight?: string | number;
maxWidth?: string | number;
height?: string | number;
}>;
interface DTCPopUpPageState {
visible: boolean;
}
interface DTCPopUpPageProps<RecordType extends DripTableRecordTypeBase> extends DripTableComponentProps<RecordType, DTCPopUpPageColumnSchema> {
}
export default class DTCPopUpPage<RecordType extends DripTableRecordTypeBase> extends React.PureComponent<DTCPopUpPageProps<RecordType>, DTCPopUpPageState> {
static componentName: DTCPopUpPageColumnSchema['component'];
static schema: SchemaObject;
state: DTCPopUpPageState;
private get label();
private handlePopUpVisible;
private onClose;
private get padding();
private get auxiliaryDesc();
render(): React.JSX.Element;
}
export {};