"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _components = require("@patternplate/components");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _default = Fullscreen;
exports.default = _default;

function Fullscreen(props) {
  return _react.default.createElement(StyledLink, {
    external: true,
    title: `Open pattern demo for "${props.id}" in a new tab`,
    href: props.href
  }, _react.default.createElement(StyledIcon, {
    symbol: "fullscreen"
  }));
}

const StyledIcon = (0, _components.styled)(_components.Icon).withConfig({
  displayName: "trigger-fullscreen__StyledIcon"
})(["fill:", ";"], props => props.theme.background);
const StyledLink = (0, _components.styled)(_components.Link).withConfig({
  displayName: "trigger-fullscreen__StyledLink"
})(["font-size:0;line-height:0;"]);
//# sourceMappingURL=trigger-fullscreen.js.map