tooltip component edited

This commit is contained in:
Burak Civan
2022-07-06 17:27:09 +03:00
parent aa0a08d4bd
commit 7dd0d707b5
3 changed files with 15 additions and 4 deletions

View File

@ -25,6 +25,8 @@ class Tooltip extends Component
public $whitespace;
public $width;
/**
* Create a new component instance.
*
@ -36,6 +38,7 @@ class Tooltip extends Component
string $message = '',
string $size = '',
string $whitespace = '',
string $width = 'auto',
) {
$this->id = $this->getId($id);
$this->placement = $this->getPlacement($placement);
@ -48,6 +51,7 @@ class Tooltip extends Component
$this->message = $this->getMessage($message);
$this->size = $this->getSize($size);
$this->whitespace = $this->getWhiteSpace($whitespace);
$this->width = $width;
}
/**