emilkowalski / vaul

An unstyled drawer component for React.
https://vaul.emilkowal.ski
MIT License
5.29k stars 170 forks source link

Allow overriding of `vaul-drawer` #270

Open justinnais opened 4 months ago

justinnais commented 4 months ago

Hi Emil,

I have a use case to override some of the vaul attributes that are set on the components. This works for Overlay, but not Content as the attributes are set after the spread of props.

Content Props

If this isn't intentional, could we spread the props after to allow overriding of these attributes?