Upgrade to 4.0.0
This commit is contained in:
@@ -7,6 +7,9 @@ return [
|
||||
'headline',
|
||||
],
|
||||
'props' => [
|
||||
'icon' => function (string $icon = null) {
|
||||
return $icon;
|
||||
},
|
||||
'text' => function ($text = null) {
|
||||
return I18n::translate($text, $text);
|
||||
},
|
||||
@@ -25,6 +28,7 @@ return [
|
||||
],
|
||||
'toArray' => function () {
|
||||
return [
|
||||
'icon' => $this->icon,
|
||||
'label' => $this->headline,
|
||||
'text' => $this->text,
|
||||
'theme' => $this->theme
|
||||
|
Reference in New Issue
Block a user