import React from 'react'
import { Typography } from 'antd'
import classNames from 'classnames'

export default function TypographyComponent(props: any) {
	let className = classNames({
		'mk-typography': true,
		[props.className]: !!props.className
	})
	return <Typography {...props} className={className} />
}
TypographyComponent.Text = Typography.Text;
TypographyComponent.Title = Typography.Title;
TypographyComponent.Paragraph = Typography.Paragraph;
