Open sai6855 opened 1 month ago
https://deploy-preview-752--base-ui.netlify.app/
Generated by :no_entry_sign: dangerJS against 3df4e29bbc231d17f2453b341a00a3a0ac62b1cf
The default values are set in the hook. We can make it consistent and set everything on the component, though. In this case, I'd recommend making the hook parameters mandatory.
We can make it consistent and set everything on the component, though. In this case, I'd recommend making the hook parameters mandatory.
@sai6855 Thanks for working on this 🙏 we discussed this and decided to generally assign default values to optional props in the component, and have hook params be required: https://github.com/mui/base-ui/issues/856
@sai6855, if you could make the parameters in the hook mandatory, we can merge this PR.
@sai6855, if you could make the parameters in the hook mandatory, we can merge this PR.
Got it, I'll make the changes. Some i missed this notification
Part of https://github.com/mui/base-ui/issues/856
Added missing default values of props for Collapsible* components.
Collapsible docs: https://deploy-preview-752--base-ui.netlify.app/components/react-collapsible/