<?php
/**
 * Header component contract.
 *
 * @package Kutby
 * @since   2.6.0
 */

declare(strict_types=1);

namespace Kutby\Header\Contracts;

use Kutby\Header\Support\HeaderContext;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Interface HeaderComponentInterface
 */
interface HeaderComponentInterface {

	/**
	 * @param HeaderContext        $ctx  Context.
	 * @param array<string, mixed> $args Local args.
	 * @return void
	 */
	public static function render( HeaderContext $ctx, array $args = array() ): void;
}
