mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-02 14:29:11 +02:00
- enhance plugin card ui - refactor components to be more consistent - invert toggler label for better UX - edit view components regex
21 lines
405 B
PHP
21 lines
405 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Views\Components\Forms;
|
|
|
|
use ViewComponents\Component;
|
|
|
|
class Helper extends Component
|
|
{
|
|
// TODO: add type with error and show errors inline
|
|
|
|
public function render(): string
|
|
{
|
|
$this->mergeClass('text-skin-muted');
|
|
|
|
return <<<HTML
|
|
<small {$this->getStringifiedAttributes()}>{$this->slot}</small>
|
|
HTML;
|
|
}
|
|
}
|