Skip to content

Commit

Permalink
Update screens.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna authored Sep 2, 2024
1 parent 68872b8 commit 8a9892c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/en/docs/screens.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ use Orchid\Screen\Fields\Input;
use Orchid\Screen\Fields\Label;
use Orchid\Screen\Layouts\Rows;

class ReusableEditLayout extends Rows
class ReusableLayout extends Rows
{
/**
* @var string
Expand Down Expand Up @@ -467,8 +467,8 @@ Instances can be used in the same way, but they can accept parameters
public function layout(): array
{
return [
new ReusableEditLayout('order.shipping_address', 'Shipping Address'),
new ReusableEditLayout('order.invoice_address', 'Invoice Address'),
new ReusableLayout('order.shipping_address', 'Shipping Address'),
new ReusableLayout('order.invoice_address', 'Invoice Address'),
];
}
```
Expand Down

0 comments on commit 8a9892c

Please sign in to comment.