Skip to content

Commit

Permalink
feat: TableBuilder vertical mode improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Dec 17, 2024
1 parent cb9650b commit 4b4cc74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/UI/TableBuilderContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ public function editable(): static;
public function isEditable(): bool;

/**
* @param ?Closure(FieldContract $field, ComponentContract $default, static $ctx): ComponentContract $title
* @param ?Closure(FieldContract $field, ComponentContract $default, static $ctx): ComponentContract $value
* @param null|int|Closure(FieldContract $field, ComponentContract $default, static $ctx): ComponentContract $title
* @param null|int|Closure(FieldContract $field, ComponentContract $default, static $ctx): ComponentContract $value
*/
public function vertical(?Closure $title = null, ?Closure $value = null): static;
public function vertical(null|Closure|int $title = null, null|Closure|int $value = null): static;

public function isVertical(): bool;

Expand Down

0 comments on commit 4b4cc74

Please sign in to comment.