I'd like to use plexus-form with bootstrap styling. Some custom CSS classes would probably not suffice and I would prefer to use React Bootstrap.
Providing custom Bootstrapped inputComponent hints might get us quite far, but the downside is that they would need to be set in the schema (for every field).
Ideally I would create a light wrapper library around plexus-form which would override the input components. With the inputComponent hints approach this would require parsing and interpreting the schema (something plexus-form already does and I don't want to repeat).
The easy way out would be to just fork the entire library and modify it a bit, but I would really like to prevent that.
Any thoughts on what the best approach would be?
I'd like to use plexus-form with bootstrap styling. Some custom CSS classes would probably not suffice and I would prefer to use React Bootstrap.
Providing custom Bootstrapped
inputComponenthints might get us quite far, but the downside is that they would need to be set in the schema (for every field).Ideally I would create a light wrapper library around plexus-form which would override the input components. With the
inputComponenthints approach this would require parsing and interpreting the schema (something plexus-form already does and I don't want to repeat).The easy way out would be to just fork the entire library and modify it a bit, but I would really like to prevent that.
Any thoughts on what the best approach would be?