Table action that opens a modal with a table inside? (how to use `->table` on an action?)

I'm trying to make an action that would open a table with relationship items for viewing.

I found the ->table method on the table Action class, but I'm not sure how to pass a table to it.

Tables\Actions\Action::make('View executions')
  ->table(Table::make(/* I'm not sure what to pass here, but it is required */)->columns([
    // columns for a relationship items
  ])),


Any ideas? Thank you.
Was this page helpful?