import React from 'react'; import { StyledComponentClass } from 'styled-components'; import { TypographyProps } from '../Typography'; import { Theme } from '../types'; export interface TableCellPaddingProps { /** * 间隔类型 * * @type {string} * @memberof TableCellPaddingProps */ padding?: string; } export interface TableCellStyleProps { /** * 是否是数字 * * @type {boolean} * @memberof TableCellStyleProps */ numeric?: boolean; } export interface StyledTdProps { /** * 文本类型 * * @type {string} * @memberof StyledTdProps */ type?: string; /** * 间隔类型 * * @type {string} * @memberof StyledTdProps */ padding?: string; /** * 是否是数字 * * @type {boolean} * @memberof StyledTdProps */ numeric?: boolean; } interface TextComp extends StyledComponentClass & React.HTMLAttributes & TypographyProps, Theme, React.ClassAttributes & React.HTMLAttributes & StyledTdProps> { } declare const StyledTh: TextComp; declare const StyledTd: TextComp; export { StyledTh, StyledTd };