Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 281 Bytes

dataprovider.md

File metadata and controls

9 lines (6 loc) · 281 Bytes

DataProvider

it uses ra-data-simple-rest provider and intercepts react-admin requests to transform to formData when it has any file in the request body.

import { DataProvider } from '@ra-libs/react';

<Admin dataProvider={new DataProvider('<API_URL>')}>...</Admin>;