@light-sheet/react
Version:
FortuneSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets
18 lines • 528 B
JavaScript
import React from "react";
var SVGIcon = function SVGIcon(_ref) {
var _ref$width = _ref.width,
width = _ref$width === void 0 ? 24 : _ref$width,
_ref$height = _ref.height,
height = _ref$height === void 0 ? 24 : _ref$height,
name = _ref.name,
style = _ref.style;
return /*#__PURE__*/React.createElement("svg", {
width: width,
height: height,
style: style,
"aria-hidden": "true"
}, /*#__PURE__*/React.createElement("use", {
xlinkHref: "#".concat(name)
}));
};
export default SVGIcon;