10 lines
326 B
TypeScript
10 lines
326 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];
|
|
export declare type TitleProps = Omit<BlockProps & {
|
|
level?: typeof TITLE_ELE_LIST[number];
|
|
}, 'strong'>;
|
|
declare const Title: React.FC<TitleProps>;
|
|
export default Title;
|