import React from "react";
export const SvgIcon = ({ icon, height, width }) => (React.createElement("svg", { viewBox: icon.viewBox, style: { height, width } },
    React.createElement("use", { xlinkHref: `#${icon.id}` })));
//# sourceMappingURL=svg-icon.js.map