id-components
Version:
id components
17 lines (16 loc) • 746 B
JavaScript
;
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var style_1 = require("./style");
var Icon = function (props) {
var children = props.children, color = props.color, size = props.size, viewBox = props.viewBox;
return (React.createElement(style_1.Svg, { fill: color || '', height: size || 24, width: size || 24, viewBox: viewBox || "0 0 32 32" }, children));
};
exports.default = Icon;