@razorpay/blade
Version:
The Design System that powers Razorpay
15 lines (12 loc) • 1.28 kB
JavaScript
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
import styled from 'styled-components/native';
import { Svg as Svg$1 } from 'react-native-svg';
import React__default from 'react';
import { metaAttribute } from '../../../../utils/metaAttribute/metaAttribute.native.js';
import { MetaConstants } from '../../../../utils/metaAttribute/metaConstants.js';
import { useStyledProps } from '../../../Box/styledProps/useStyledProps.js';
import { makeAccessible } from '../../../../utils/makeAccessible/makeAccessible.native.js';
import { jsx } from 'react/jsx-runtime';
var _excluded=["children","height","viewBox","width","fill"];var StyledSvg=styled(Svg$1)(function(props){var styledPropsCSSObject=useStyledProps(props);return styledPropsCSSObject;});var _Svg=function _Svg(_ref,ref){var children=_ref.children,height=_ref.height,viewBox=_ref.viewBox,width=_ref.width,fill=_ref.fill,styledProps=_objectWithoutProperties(_ref,_excluded);return jsx(StyledSvg,Object.assign({},makeAccessible({hidden:true}),metaAttribute({name:MetaConstants.Icon}),{height:height,viewBox:viewBox,width:width,fill:fill,ref:ref},styledProps,{children:children}));};var Svg=React__default.forwardRef(_Svg);
export { Svg as default };
//# sourceMappingURL=Svg.native.js.map