Skip to content

Commit

Permalink
Update VIcon.php
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Oct 12, 2022
1 parent a0f100d commit d8fa37a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wfc/ui/vuetify/VIcon.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class VIcon extends \webfiori\ui\HTMLNode {
*/
public function __construct(string $icon = 'mdi-information', array $iconProps = []) {
parent::__construct('v-icon', $iconProps);
$this->text($icon);
$this->text('m');
$this->setIcon($icon);
}
/**
* Sets the icon that will be shown by the element.
Expand Down

0 comments on commit d8fa37a

Please sign in to comment.