Skip to content

Commit

Permalink
Add Icon enum to Assets field type
Browse files Browse the repository at this point in the history
  • Loading branch information
tdwesten committed Feb 11, 2024
1 parent 2678fa8 commit 06ba86f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FieldTypes/Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
use Illuminate\Support\Collection;
use Tdwesten\StatamicBuilder\Contracts\Makeble;
use Tdwesten\StatamicBuilder\Enums\AssetsUIModeOption;
use Tdwesten\StatamicBuilder\Enums\Icon;

class Assets extends Field
{
use Makeble;

protected $type = 'assets';

protected $icon;
protected $icon = Icon::Assets;

protected $max_files;

Expand Down

0 comments on commit 06ba86f

Please sign in to comment.