diff --git a/src/View/Components/Forms/Inputs/Toggle.php b/src/View/Components/Forms/Inputs/Toggle.php index 0c6a27b..46d1fd6 100644 --- a/src/View/Components/Forms/Inputs/Toggle.php +++ b/src/View/Components/Forms/Inputs/Toggle.php @@ -24,18 +24,17 @@ public function __construct( public function render(): string|View { -// $classCollection = Str::of($attributes->get('class'))->explode(' '); -// $labelClass = $classCollection->filter(function (string $value, string $key) { -// return Str::of($value)->startsWith('form-switch'); -// })->values(); -// $inputClass = $classCollection->filter(function (string $value, string $key) { -// return !Str::of($value)->startsWith('form-switch'); -// })->values(); -// - + // $classCollection = Str::of($attributes->get('class'))->explode(' '); + // $labelClass = $classCollection->filter(function (string $value, string $key) { + // return Str::of($value)->startsWith('form-switch'); + // })->values(); + // $inputClass = $classCollection->filter(function (string $value, string $key) { + // return !Str::of($value)->startsWith('form-switch'); + // })->values(); + // return <<<'HTML'