UNPKG

metadata-based-explorer1

Version:
14 lines (12 loc) 495 B
import * as React from 'react'; var InlineNotice = function InlineNotice(_ref) { var children = _ref.children, _ref$className = _ref.className, className = _ref$className === void 0 ? '' : _ref$className, _ref$type = _ref.type, type = _ref$type === void 0 ? 'warning' : _ref$type; return React.createElement("div", { className: "inline-alert inline-alert-visible inline-alert-".concat(type, " ").concat(className) }, children); }; export default InlineNotice;