-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-myfiles-tsx-e97429e26b2f7aed373b.js.map
1 lines (1 loc) · 1.79 KB
/
component---src-pages-myfiles-tsx-e97429e26b2f7aed373b.js.map
1
{"version":3,"sources":["webpack:///./src/pages/myfiles.tsx"],"names":["data","allFile","edges","map","index","node","key","relativePath","prettySize","extension","birthTime"],"mappings":"6FAAA,gCAGe,sBAAc,IAAXA,EAAW,EAAXA,KACd,OACI,6BACI,+CACA,+BACI,+BACI,4BACI,4CACA,0CACA,yCACA,2CAGR,+BACKA,EAAKC,QAAQC,MAAMC,KAAI,WAAWC,GAAX,IAAGC,EAAH,EAAGA,KAAH,OACpB,wBAAIC,IAAKF,GACL,4BAAKC,EAAKE,cACV,4BAAKF,EAAKG,YACV,4BAAKH,EAAKI,WACV,4BAAKJ,EAAKK","file":"component---src-pages-myfiles-tsx-e97429e26b2f7aed373b.js","sourcesContent":["import React from \"react\"\nimport { graphql } from \"gatsby\"\n\nexport default ({ data }) => {\n return (\n <div>\n <h1>My Site's Files</h1>\n <table>\n <thead>\n <tr>\n <th>relativePath</th>\n <th>prettySize</th>\n <th>extension</th>\n <th>birthTime</th>\n </tr>\n </thead>\n <tbody>\n {data.allFile.edges.map(({ node }, index) => (\n <tr key={index}>\n <td>{node.relativePath}</td>\n <td>{node.prettySize}</td>\n <td>{node.extension}</td>\n <td>{node.birthTime}</td>\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n )\n}\n\nexport const query = graphql`\n query MyFilesQuery {\n allFile {\n edges {\n node {\n relativePath\n prettySize\n extension\n birthTime(fromNow: true)\n }\n }\n }\n }\n`\n"],"sourceRoot":""}