import React from 'react'; import { StyledComponentClass } from 'styled-components'; import { TypographyProps } from '../Typography'; import { Theme } from '../types'; export interface SubheaderTextProps { /** * 是否有第三行文本 * * @type {boolean} * @memberof SubheaderTextProps */ secondaryText: string | React.ReactNode; /** * 紧缩型 * * @type {boolean} * @memberof SubheaderTextProps */ dense?: boolean; type?: string; } interface TextComp extends StyledComponentClass & React.HTMLAttributes & TypographyProps, Theme, React.ClassAttributes & React.HTMLAttributes & SubheaderTextProps> { } declare const SubheaderText: TextComp; export default SubheaderText;