<?php

namespace app\entity\gateway\script;


use AllowDynamicProperties;

/**
 * sweetalert2 弹窗提示框组件
 * @doc https://sweetalert2.github.io/#examples
 */
#[AllowDynamicProperties] class Swal extends BaseScript
{

    public function __construct(
        array  $_bind = [],
        string $title = '',
        string $text = '',
        string $icon = null,
    )
    {
        $this->title = $title;
        $this->text = $text;
        $this->icon = $icon;
        parent::__construct($_bind);
    }
}