({ showActions }: { showActions?: boolean; children?: ReactNode })
| 4 | import { UsersTable } from './UsersTable'; |
| 5 | |
| 6 | export function UsersDataTable({ showActions }: { showActions?: boolean; children?: ReactNode }) { |
| 7 | const queryResult = useUsersQuery(); |
| 8 | |
| 9 | return ( |
| 10 | <DataGrid query={queryResult} allowSearch={true}> |
| 11 | {({ data }) => <UsersTable data={data} showActions={showActions} />} |
| 12 | </DataGrid> |
| 13 | ); |
| 14 | } |
nothing calls this directly
no test coverage detected