<?php

namespace Elementor\Modules\AtomicWidgets\PropTypes;

use Elementor\Modules\AtomicWidgets\PropTypes\Base\Object_Prop_Type;
use Elementor\Modules\AtomicWidgets\PropTypes\Time_String_Prop_Type;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Time_Range_Prop_Type extends Object_Prop_Type {
	public static function get_key(): string {
		return 'time-range';
	}

	protected function define_shape(): array {
		return [
			'min' => Time_String_Prop_Type::make(),
			'max' => Time_String_Prop_Type::make(),
		];
	}
}
