@blockstack/ui
Version:
Blockstack UI components built using React and styled-components with styled-system.
27 lines (23 loc) • 907 B
JavaScript
import { objectWithoutPropertiesLoose as _objectWithoutPropertiesLoose } from '../_virtual/_rollupPluginBabelHelpers.js';
import { createElement } from 'react';
import { Box } from '../box/index.esm.js';
var Svg = function Svg(_ref) {
var _ref$width = _ref.width,
width = _ref$width === void 0 ? '24px' : _ref$width,
_ref$height = _ref.height,
height = _ref$height === void 0 ? 'auto' : _ref$height,
_ref$viewBox = _ref.viewBox,
viewBox = _ref$viewBox === void 0 ? '0 0 24 24' : _ref$viewBox,
_ref$fill = _ref.fill,
fill = _ref$fill === void 0 ? 'none' : _ref$fill,
rest = _objectWithoutPropertiesLoose(_ref, ["width", "height", "viewBox", "fill"]);
return createElement(Box, Object.assign({
as: "svg",
width: width,
height: height,
viewBox: viewBox,
fill: fill
}, rest));
};
export { Svg };
//# sourceMappingURL=index.esm.js.map