/* @flow */
import * as React from 'react';
import { FormattedMessage } from 'react-intl';
export const getBottomText = (error: any, warning: any, info: any): React.Node => {
if (error) {
return ;
}
if (warning) {
return ;
}
if (info) {
return ;
}
return null;
};