moonshine-software / moonshine

Laravel Admin panel and more. Simple for beginners and powerful for experts. Using Blade, Alpine.js and Tailwind CSS.
https://moonshine-laravel.com
MIT License
759 stars 100 forks source link

feat: ResourceWithTableModifiers #1189

Closed lee-to closed 2 months ago

lee-to commented 2 months ago
// also thead, tbody

protected function tfoot(): ?TableRowsContract
    {
        return TableRows::make([
            TableRow::make(
                TableCells::make([
                    TableTd::make('Hello'),
                    TableTd::make('Hello'),
                ])
            ),
            TableRow::make(
                TableCells::make([
                    TableTd::make('Hello'),
                    TableTd::make('Hello'),
                ])
            )
        ]);
    }