metadata-based-explorer1
Version:
Box UI Elements
13 lines (11 loc) • 491 B
JavaScript
import * as React from 'react';
var InlineError = function InlineError(_ref) {
var children = _ref.children,
_ref$className = _ref.className,
className = _ref$className === void 0 ? '' : _ref$className,
title = _ref.title;
return React.createElement("div", {
className: "inline-alert inline-alert-visible inline-alert-error ".concat(className)
}, React.createElement("b", null, title), React.createElement("div", null, children));
};
export default InlineError;