<?php
/**
 * Hero component contract.
 *
 * @package Kutby
 * @since   2.8.0
 */

declare(strict_types=1);

namespace Kutby\Hero\Contracts;

use Kutby\Hero\Support\HeroContext;

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

/**
 * Interface HeroComponentInterface
 */
interface HeroComponentInterface {

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