10 lines
322 B
TypeScript
10 lines
322 B
TypeScript
import * as React from 'react';
|
|
import { BlockProps } from './Base';
|
|
import { Omit } from '../_util/type';
|
|
declare const TITLE_ELE_LIST: [1, 2, 3, 4];
|
|
declare type TitleProps = Omit<BlockProps & {
|
|
level?: (typeof TITLE_ELE_LIST)[number];
|
|
}, 'strong'>;
|
|
declare const Title: React.SFC<TitleProps>;
|
|
export default Title;
|