Recently I started upgrading from `react-router-dom v5` to `v6` and I have something in my `Route` which I don't know what it is and what is the alternative in `react-router-dom v6`. The keyword `match` inside `<LayoutReport match={props} />` is giving me warning:

```
(property) match: any
Type '{ match: any; }' is not assignable to type 'IntrinsicAttributes'.
Property 'match' does not exist on type 'IntrinsicAttributes'.ts(2322)

```

This is my `Route`

```
<Route
  path="reports/*"
  element={props => (
     <FilterBarProvider>
        <LayoutReport match={props} />
     </FilterBarProvider>)}
/>

```