Skip to content

Commit

Permalink
chore: allow nilable overflow on Avo::ModalComponent (#3303)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Oct 2, 2024
1 parent b49c401 commit f799634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/avo/modal_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Avo::ModalComponent < Avo::BaseComponent

prop :width, Symbol, default: :md
prop :body_class, _Nilable(String)
prop :overflow, Symbol, default: :auto
prop :overflow, _Nilable(Symbol), default: :auto

def width_classes
case @width.to_sym
Expand Down

0 comments on commit f799634

Please sign in to comment.