account groups class added

This commit is contained in:
Cihan Şentürk 2022-06-06 19:44:39 +03:00 committed by GitHub
parent 8eb7256abe
commit ce16490e36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,13 +16,17 @@ class Account extends Form
/** @var bool */ /** @var bool */
public $hideCurrency; public $hideCurrency;
/** @var string */
public $formGroupClass;
/** /**
* Create a new component instance. * Create a new component instance.
* *
* @return void * @return void
*/ */
public function __construct(bool $hideCurrency = false) { public function __construct(bool $hideCurrency = false, string $formGroupClass = 'sm:col-span-3') {
$this->hideCurrency = $hideCurrency; $this->hideCurrency = $hideCurrency;
$this->formGroupClass = $formGroupClass;
} }
/** /**