*/ public function __construct( string $variant = 'primary', string $size = 'md', ?string $icon = null, string $type = 'button' ) { $this->variant = $variant; $this->size = $size; $this->icon = $icon; $this->type = $type; } /** * Render view của component */ public function render(): View|Closure|string { return view('components.button'); } }