optimizely-oui
Version:
Optimizely's Component Library.
13 lines (11 loc) • 447 B
JavaScript
// This file simulates the functionality that Webpack provides when loading
// SVGs so that Jest, our test runner, can run this file whenever it attempts
// to import an SVG but doesn't recognize it as JavaScript.
//
// More information:
// https://facebook.github.io/jest/docs/tutorial-webpack.html
var React = require("react");
var MockIcon = function MockIcon(props) {
return React.createElement("svg", props);
};
module.exports = MockIcon;