aviflombaum / shadcn-rails

https://shadcn.rails-components.com
MIT License
470 stars 32 forks source link

Permit custom direction to dialog #36

Closed sergitejada closed 10 months ago

sergitejada commented 10 months ago

Create a custom dialog in diferent postion I want use a dialog to a sidebar image I want to use the dialog as a sidebar, and modified the component so that the user can send css to it. Do you think it would be a good functionality? image image image If you think it would be a good functionality, I can do a PR. He also thinks we should create a position variable so that we don't have to send css ![Uploading image.png…]()

aviflombaum commented 10 months ago

Yes, this would be awesome. I think the original library supports this too. Go for it, I'll review.