import * as React from 'react'; import { MessageBar, MessageBarType } from '@fluentui/react'; interface MessageInfoProps { info: string; typeInfo: string; className?: string; } class MessageInfo extends React.Component { constructor(props: MessageInfoProps) { super(props); } render(): React.ReactNode { const { info, typeInfo, className } = this.props; return ( {info} ); } } export default MessageInfo;