1, 'config' => array( 'Type' => array( 'config' => array( 'default' => 'grid', 'name' => __( 'Display Type', 'thrive-cb' ), 'buttons' => [ [ 'icon' => '', 'text' => 'GRID', 'value' => 'grid', 'default' => true, ], [ 'icon' => '', 'text' => 'MASONRY', 'value' => 'masonry', ], ], ), 'extends' => 'ButtonGroup', ), 'ColumnsNumber' => array( 'config' => array( 'default' => '4', 'min' => '2', 'max' => '10', 'label' => __( 'Number of Columns', 'thrive-cb' ), 'um' => [ '' ], ), 'extends' => 'Slider', ), 'HorizontalSpace' => array( 'config' => array( /* in order to set the default SpaceBetween, you actually have to set a new margin-bottom for the article */ 'min' => '0', 'max' => '150', 'label' => __( 'Horizontal Spacing', 'thrive-cb' ), 'um' => [ 'px' ], ), 'extends' => 'Slider', ), 'VerticalSpace' => array( 'config' => array( /* in order to set the default SpaceBetween, you actually have to set a new margin-bottom for the article */ 'min' => '0', 'max' => '150', 'label' => __( 'Vertical Spacing', 'thrive-cb' ), 'um' => [ 'px' ], ), 'extends' => 'Slider', ), 'MaxWidth' => array( 'config' => array( 'min' => '0', 'max' => '2000', 'label' => __( 'Dropdown max width', 'thrive-cb' ), 'um' => [ '%', 'px' ], 'css' => 'max-width', ), 'extends' => 'Slider', ), ), ); return $components; } }