akaunting/app/View/Components/MargueeText.php
2022-10-17 12:05:03 +03:00

33 lines
583 B
PHP

<?php
namespace App\View\Components;
use App\Abstracts\View\Component;
use Illuminate\Support\Str;
class MargueeText extends Component
{
public $width;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct(
string $width = 'auto'
) {
$this->width = $width;
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|string
*/
public function render()
{
return view('components.marguee-text');
}
}