UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

13 lines (10 loc) 1.16 kB
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties'; import 'react-native-svg'; import '@babel/runtime/helpers/defineProperty'; import { jsx } from 'react/jsx-runtime'; import Path from '../_Svg/Path/Path.native.js'; import Svg from '../_Svg/Svg/Svg.native.js'; import useIconProps from '../useIconProps/useIconProps.js'; var _excluded=["size","color"];var SquareIcon=function SquareIcon(_ref){var size=_ref.size,color=_ref.color,styledProps=_objectWithoutProperties(_ref,_excluded);var _useIconProps=useIconProps({size:size,color:color}),height=_useIconProps.height,width=_useIconProps.width,iconColor=_useIconProps.iconColor;return jsx(Svg,Object.assign({},styledProps,{width:width,height:height,viewBox:"0 0 24 24",fill:"none",children:jsx(Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 5C2 3.34315 3.34315 2 5 2H19C20.6569 2 22 3.34315 22 5V19C22 20.6569 20.6569 22 19 22H5C3.34315 22 2 20.6569 2 19V5ZM5 4C4.44772 4 4 4.44772 4 5V19C4 19.5523 4.44772 20 5 20H19C19.5523 20 20 19.5523 20 19V5C20 4.44772 19.5523 4 19 4H5Z",fill:iconColor})}));}; export { SquareIcon as default }; //# sourceMappingURL=SquareIcon.js.map