4f5081ff69939f035da1b7768a06659d.json 1.92 KB
{"ast":null,"code":"import * as React from 'react';\nimport TableContext from '../context/TableContext';\nimport Cell from './Cell';\nimport Row from './Row';\n\nfunction Footer(_ref) {\n  var children = _ref.children;\n\n  var _React$useContext = React.useContext(TableContext),\n      prefixCls = _React$useContext.prefixCls;\n\n  return React.createElement(\"tfoot\", {\n    className: \"\".concat(prefixCls, \"-summary\")\n  }, children);\n}\n\nexport default Footer;\nexport var FooterComponents = {\n  Cell: Cell,\n  Row: Row\n};","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/rc-table/es/Footer/index.js"],"names":["React","TableContext","Cell","Row","Footer","_ref","children","_React$useContext","useContext","prefixCls","createElement","className","concat","FooterComponents"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,YAAP,MAAyB,yBAAzB;AACA,OAAOC,IAAP,MAAiB,QAAjB;AACA,OAAOC,GAAP,MAAgB,OAAhB;;AAEA,SAASC,MAAT,CAAgBC,IAAhB,EAAsB;AACpB,MAAIC,QAAQ,GAAGD,IAAI,CAACC,QAApB;;AAEA,MAAIC,iBAAiB,GAAGP,KAAK,CAACQ,UAAN,CAAiBP,YAAjB,CAAxB;AAAA,MACIQ,SAAS,GAAGF,iBAAiB,CAACE,SADlC;;AAGA,SAAOT,KAAK,CAACU,aAAN,CAAoB,OAApB,EAA6B;AAClCC,IAAAA,SAAS,EAAE,GAAGC,MAAH,CAAUH,SAAV,EAAqB,UAArB;AADuB,GAA7B,EAEJH,QAFI,CAAP;AAGD;;AAED,eAAeF,MAAf;AACA,OAAO,IAAIS,gBAAgB,GAAG;AAC5BX,EAAAA,IAAI,EAAEA,IADsB;AAE5BC,EAAAA,GAAG,EAAEA;AAFuB,CAAvB","sourcesContent":["import * as React from 'react';\nimport TableContext from '../context/TableContext';\nimport Cell from './Cell';\nimport Row from './Row';\n\nfunction Footer(_ref) {\n  var children = _ref.children;\n\n  var _React$useContext = React.useContext(TableContext),\n      prefixCls = _React$useContext.prefixCls;\n\n  return React.createElement(\"tfoot\", {\n    className: \"\".concat(prefixCls, \"-summary\")\n  }, children);\n}\n\nexport default Footer;\nexport var FooterComponents = {\n  Cell: Cell,\n  Row: Row\n};"]},"metadata":{},"sourceType":"module"}