mirror of
https://github.com/filamentphp/filament.git
synced 2026-08-29 03:09:12 +08:00
15 lines
329 B
PHP
15 lines
329 B
PHP
<?php
|
|
|
|
namespace Filament\Tests;
|
|
|
|
use Livewire\Component;
|
|
use Livewire\Features\SupportTesting\Testable;
|
|
use Livewire\Livewire;
|
|
|
|
if (! function_exists('\Filament\Tests\livewire')) {
|
|
function livewire(string | Component $component, array $props = []): Testable
|
|
{
|
|
return Livewire::test($component, $props);
|
|
}
|
|
}
|