@lonelyplanet/dotcom-core
Version:
This package is meant to house some of our more common UI and shared libs across dotcom applications.
12 lines (11 loc) • 718 B
JavaScript
import * as cn from "classnames";
import * as React from "react";
import * as styles from "./styles.css";
var SearchInputCancelButton = function (_a) {
var onClick = _a.onClick, className = _a.className;
return (React.createElement("button", { className: cn(styles.searchInputCancelButton, className), onClick: onClick, type: "reset" },
React.createElement("svg", { className: "svg-icon", viewBox: "0 0 32 32", "aria-label": "Close" },
React.createElement("title", null, "Close"),
React.createElement("path", { d: "M32 1.9l-1.9-1.9-14.1 14.1-14.1-14.1-1.9 1.9 14.1 14.1-14.1 14.1 1.9 1.9 14.1-14.1 14.1 14.1 1.9-1.9-14.1-14.1z" }))));
};
export default SearchInputCancelButton;