Premium Component
This is a premium Content. Upgrade to access the content and more premium features.
Upgrade to PremiumDeveloperBreeze
It looks like you're using an adblocker. Our website relies on ads to keep running. Please consider disabling your adblocker to support us and access the content.
This is a premium Content. Upgrade to access the content and more premium features.
Upgrade to PremiumMore content you might like
In app/View/Components/Button.php:
namespace App\View\Components;
use Illuminate\View\Component;
class Button extends Component
{
public $type;
public $label;
public function __construct($type = 'primary', $label = 'Submit')
{
$this->type = $type;
$this->label = $label;
}
public function render()
{
return view('components.button');
}
}Please sign in to join the discussion.
No comments yet. Be the first to share your thoughts!