import React from 'react';
import { Heading, Icon, Flex } from '@looker/components';
import { Error } from '@styled-icons/material/Error';
export var SearchMessage = _ref => {
  var {
    search
  } = _ref;
  return React.createElement(React.Fragment, null, search && !search.ok && React.createElement(Flex, {
    pl: "large",
    pr: "large",
    alignItems: "center"
  }, React.createElement(Heading, {
    as: "h4",
    color: "critical"
  }, React.createElement(Icon, {
    key: "resultIcon",
    icon: React.createElement(Error, null),
    size: "xxsmall",
    color: "critical"
  }), search.message)));
};
//# sourceMappingURL=SearchMessage.js.map