Possibility to pass props to (default) resolver #6
Labels
enhancement
New feature or request
v2
Issue was created at v2 times and is kept for future v3 improvements.
Is your feature request related to a problem? Please describe.
At the moment you can only override a resolver but it's not possible to pass props like
class
to it.This is especially needed with tailwindcss to add classes to those components.
Describe the solution you'd like
Provide the possibility to define the resolver as an object with the optional
component
(the component for overriding the default resolver) andprops
(all props passed directly to the resolver).It should be still possible to override the resolver directly without an object definition.
Suggestion:
This should be still possible:
The text was updated successfully, but these errors were encountered: