# Context

A programmer must use context (<https://beta.reactjs.org/blog/2018/03/29/react-v-16-3#official-context-api>) wrapping to wrap his application - this is the top layer that wraps his code

Context passes the parameters (paths, dataProvider, config, renderers, router).

\
More detailed information can be found in the following subsections.

### Example

```tsx
import { ReactAdminerProvider } from 'react-adminer';
```

{% code lineNumbers="true" %}

```tsx
<ReactAdminerProvider
	paths={{ editFormPath: '/edit' }}
	dataProvider={{ select, count, insert, update }}
	config={{ schema: SCHEMA, table: TABLE_CONFIG }}
	renders={RENDERS}
	router={ROUTER}
>
	// another code
</ReactAdminerProvider>
```

{% endcode %}
