dohomi / react-hook-form-mui

Material-UI form components ready to use with react-hook-form
https://react-hook-form-material-ui.vercel.app
MIT License
562 stars 111 forks source link

Support for Custom className in FormContainer #330

Closed StreakingMan closed 3 weeks ago

StreakingMan commented 3 weeks ago

Duplicates

Latest version

Summary 💡

While the FormContainer currently provides a form element, I believe it would be beneficial to allow for custom styling by supporting a custom className prop.

Examples 🌈

<FormContainer className="my-custom-class">
  ...
</FormContainer>
StreakingMan commented 3 weeks ago

Never mind , I just saw FormProps in source code . 😄 It would be great if the usage could be documented as well.