Support data providers in custom components #3357
Labels
feature: Custom components
Everything related to the code editor experience, codesandbox like
waiting for 👍
Waiting for upvotes
Summary
Custom component authors should get access to data provider data to build their own data rich components. They should also be able to call the CRUD methods on these data providers. Concretely, Toolpad should offer an API that allows:
custom component authors to mark a property of their component as having the type "data provider". This should enable the same user interface on the property that exists for the data grid.
call a one of a specific set of hooks with the value of this property that allows interaction with the user provided data provider.
tentative API shape:
Alternatively, Toolpad could take the property name as a string in its first argument to the hooks.
Examples
No response
Motivation
#351 (comment)
Search keywords: data provider custom components
The text was updated successfully, but these errors were encountered: