Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
calebporzio committed Sep 30, 2024
1 parent 8cf8e16 commit 5403260
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "livewire/flux",
"description": "The official UI component library for Livewire.",
"keywords": ["flux", "laravel", "livewire", "components", "ui"],
"version": "1.0.2",
"license": "proprietary",
"authors": [
{
Expand Down
5 changes: 5 additions & 0 deletions src/FluxManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,9 @@ public function applyInset($inset, $top, $right, $bottom, $left)

return $insets->map(fn ($i) => $insetClasses[$i])->join(' ');
}

public function componentExists($name)
{
return app('view')->exists(md5('flux') . '::' . $name);
}
}

0 comments on commit 5403260

Please sign in to comment.