@wordpress/block-library
Version:
Block library for the WordPress editor.
18 lines • 322 B
JavaScript
/**
* WordPress dependencies
*/
import { store } from '@wordpress/interactivity';
/**
* Internal dependencies
*/
import { browserSupportsPdfs } from './utils';
store('core/file', {
state: {
get hasPdfPreview() {
return browserSupportsPdfs();
}
}
}, {
lock: true
});
//# sourceMappingURL=view.js.map