chowa
Version:
UI component library based on React
31 lines (30 loc) • 981 B
TypeScript
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as React from 'react';
import { OmitProps } from '../utils';
import Title from './title';
import Blockquote from './blockquote';
import Paragraph from './paragraph';
import InlineCode from './inline-code';
import Code from './code';
import List from './list';
export interface TypographyProps extends OmitProps<React.HTMLAttributes<any>, 'className' | 'style'> {
className?: string;
style?: React.CSSProperties;
}
export interface TypographyInterface {
Title: typeof Title;
Blockquote: typeof Blockquote;
Paragraph: typeof Paragraph;
InlineCode: typeof InlineCode;
Code: typeof Code;
List: typeof List;
}
declare const Typography: React.SFC<TypographyProps> & TypographyInterface;
export default Typography;