@wordpress/block-library
Version:
Block library for the WordPress editor.
1 lines • 476 B
Source Map (JSON)
{"version":3,"file":"view.mjs","names":[],"sources":["../../src/file/view.js"],"sourcesContent":["import { store } from '@wordpress/interactivity';\nimport { browserSupportsPdfs } from './utils';\n\nstore(\n\t'core/file',\n\t{\n\t\tstate: {\n\t\t\tget hasPdfPreview() {\n\t\t\t\treturn browserSupportsPdfs();\n\t\t\t},\n\t\t},\n\t},\n\t{ lock: true }\n);\n"],"mappings":";;;AAGA,MACC,aACA,EACC,OAAO,EACN,IAAI,gBAAgB;CACnB,OAAO,oBAAoB;AAC5B,EACD,EACD,GACA,EAAE,MAAM,KAAK,CACd"}