UNPKG

1.3 kBSource Map (JSON)View Raw
1{"version":3,"sources":["card/Grid.js"],"names":["React","classNames","getPrefixCls","Grid","props","customizePrefixCls","prefixCls","className","others","classString","createElement","displayName"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAASC,YAAT,QAA6B,cAA7B;;AACA,IAAMC,IAAI,GAAG,SAAPA,IAAO,CAACC,KAAD,EAAW;AAAA,MACDC,kBADC,GAC4CD,KAD5C,CACZE,SADY;AAAA,MACmBC,SADnB,GAC4CH,KAD5C,CACmBG,SADnB;AAAA,MACiCC,MADjC,4BAC4CJ,KAD5C;;AAEpB,MAAME,SAAS,GAAGJ,YAAY,CAAC,MAAD,EAASG,kBAAT,CAA9B;AACA,MAAMI,WAAW,GAAGR,UAAU,WAAIK,SAAJ,YAAsBC,SAAtB,CAA9B;AACA,SAAOP,KAAK,CAACU,aAAN,CAAoB,KAApB,EAA2B,SAAc,EAAd,EAAkBF,MAAlB,EAA0B;AAAED,IAAAA,SAAS,EAAEE;AAAb,GAA1B,CAA3B,CAAP;AACH,CALD;;AAMAN,IAAI,CAACQ,WAAL,GAAmB,UAAnB;AACA,eAAeR,IAAf","sourcesContent":["import React from 'react';\nimport classNames from 'classnames';\nimport { getPrefixCls } from '../configure';\nconst Grid = (props) => {\n const { prefixCls: customizePrefixCls, className, ...others } = props;\n const prefixCls = getPrefixCls('card', customizePrefixCls);\n const classString = classNames(`${prefixCls}-grid`, className);\n return React.createElement(\"div\", Object.assign({}, others, { className: classString }));\n};\nGrid.displayName = 'CardGrid';\nexport default Grid;\n"],"file":"Grid.js"}
\No newline at end of file