Icon Control (Docs)

Hey there,
I’m not 100% sure if this is the right spot to post it, if not please give me a hint where to post it the next time. I’m just working through the documentation for creating elements.

In the docs it says to render the icon we should use the function render_control_icon( ); of the Helpers class. I cannot access that class in the child-theme. For me it worked when replacing the function Helpers::render_control_icon( $settings['exampleIcon'], ['test-class', 'test-class-2'] ); with echo self::render_control_icon( $item['icon'], ['test-class', 'test-class-2'] ); . But I’m not 100% sure if it’s intended to use it that way? It is used that way in the icon element itself. Btw. I wasn’t able to find that function inside helpers.php.

Another thing that didn’t work for me is to set the default icon inside a repeater:

public function set_controls() {
$this->controls[‘exampleRepeater’] = [
‘tab’ => ‘content’,
‘label’ => esc_html__( ‘Repeater’, ‘bricks’ ),
‘type’ => ‘repeater’,
‘titleProperty’ => ‘title’, // Default ‘title’
‘default’ => [
[
‘title’ => ‘Design’,
‘description’ => ‘Here goes the description for repeater item.’,
],
[
‘title’ => ‘Code’,
‘description’ => ‘Here goes the description for repeater item.’,
],
[
‘title’ => ‘Launch’,
‘description’ => ‘Here goes the description for repeater item.’,
],
],
‘placeholder’ => esc_html__( ‘Title placeholder’, ‘bricks’ ),
‘fields’ => [
‘title’ => [
‘label’ => esc_html__( ‘Title’, ‘bricks’ ),
‘type’ => ‘text’,
],
‘description’ => [
‘label’ => esc_html__( ‘Description’, ‘bricks’ ),
‘type’ => ‘textarea’,
],
‘link’ => [
‘label’ => esc_html__( ‘Link’, ‘bricks’ ),
‘type’ => ‘link’,
],
‘icon’ => [
‘label’ => esc_html__( ‘Icon’, ‘bricks’ ),
‘type’ => ‘icon’,
‘default’ => [
‘library’ => ‘ionicons’, // fontawesome/ionicons/themify
‘icon’ => ‘ion-ios-arrow-down’, // Example: Themify icon class
],
‘css’ => [
[
‘selector’ => ‘.custom-title-wrapper’, // Use to target SVG file
],
],
],
]
];

}

Am I doing here something wrong?