PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.5.2
GenerateBlocks v1.5.2
trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / src / blocks / grid / css / tablet-only.js
generateblocks / src / blocks / grid / css Last commit date
desktop.js 5 years ago main.js 4 years ago mobile.js 4 years ago tablet-only.js 5 years ago tablet.js 4 years ago
tablet-only.js
22 lines
1 import buildCSS from '../../../utils/build-css';
2
3 import {
4 Component,
5 } from '@wordpress/element';
6
7 import {
8 applyFilters,
9 } from '@wordpress/hooks';
10
11 export default class TabletOnlyCSS extends Component {
12 render() {
13 let cssObj = [];
14
15 cssObj = applyFilters( 'generateblocks.editor.tabletOnlyCSS', cssObj, this.props, 'grid' );
16
17 return (
18 <style>{ buildCSS( cssObj ) }</style>
19 );
20 }
21 }
22