/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ import { actionCreators as ac, actionTypes as at, } from "common/Actions.sys.mjs"; import React from "react"; import { TOP_SITES_SOURCE } from "./TopSitesConstants"; export class SelectableSearchShortcut extends React.PureComponent { render() { const { shortcut, selected } = this.props; const imageStyle = { backgroundImage: `url("${shortcut.tippyTopIcon}")` }; return (