for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace A17\Twill\View\Components;
class Repeater extends TwillFormComponent
{
public $buttonAsLink;
public $type;
public function __construct(
$type,
$name = null,
$buttonAsLink = false,
$renderForBlocks = false,
$renderForModal = false
)
parent::__construct($name ?? $type, $name, $renderForBlocks, $renderForModal);
$this->buttonAsLink = $buttonAsLink;
$this->type = $type;
}
public function render()
return view('twill::partials.form._repeater');