import { createElement } from "react"; /** * WordPress dependencies */ import { Icon } from '@wordpress/components'; /** * Internal dependencies */ import * as dashicons from '../mobile/dashicons'; // A predefined SVG icon is rendered instead of Dashicon because it's not supported in the native version. function Dashicon({ icon, ...extraProps }) { return createElement(Icon, { icon: dashicons[icon] || dashicons.empty, ...extraProps }); } export default Dashicon; //# sourceMappingURL=index.native.js.map