@wordpress/blocks
Version:
Block API for WordPress.
8 lines (7 loc) • 737 B
Source Map (JSON)
{
"version": 3,
"sources": ["../src/deprecated.js"],
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport deprecated from '@wordpress/deprecated';\n\n/**\n * A Higher Order Component used to inject BlockContent using context to the\n * wrapped component.\n *\n * @deprecated\n *\n * @param {Component} OriginalComponent The component to enhance.\n * @return {Component} The same component.\n */\nexport function withBlockContentContext( OriginalComponent ) {\n\tdeprecated( 'wp.blocks.withBlockContentContext', {\n\t\tsince: '6.1',\n\t} );\n\n\treturn OriginalComponent;\n}\n"],
"mappings": ";AAGA,OAAO,gBAAgB;AAWhB,SAAS,wBAAyB,mBAAoB;AAC5D,aAAY,qCAAqC;AAAA,IAChD,OAAO;AAAA,EACR,CAAE;AAEF,SAAO;AACR;",
"names": []
}