import Button from '@material-ui/core/Button';
import { Print } from '@material-ui/icons';
import { FormattedMessage } from 'react-intl';
import { jsx as _jsx } from "react/jsx-runtime";
export function PrintButton() {
  return /*#__PURE__*/_jsx(Button, {
    variant: "contained",
    startIcon: /*#__PURE__*/_jsx(Print, {}),
    onClick: function onClick() {
      return setTimeout(function () {
        return global.print();
      }, 0);
    },
    children: /*#__PURE__*/_jsx(FormattedMessage, {
      id: "ijpP3x",
      defaultMessage: [{
        "type": 0,
        "value": "Tulosta"
      }]
    })
  });
}
//# sourceMappingURL=PrintButton.js.map