Skip to content

Commit

Permalink
fix(rails-icon): change the schema for icon attribute to string
Browse files Browse the repository at this point in the history
  • Loading branch information
kajabi-bot committed Oct 15, 2024
1 parent 356e7c8 commit 94b3955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lib/sage_rails/app/sage_components/sage_icon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class SageIcon < SageComponent
card_color: [:optional, NilClass, Set.new(SageSchemas::STATUSES), String],
circular: [:optional, NilClass, TrueClass],
color: [:optional, NilClass, SageSchemas::COLOR_SLIDER],
icon: SageSchemas::ICON,
icon: String,
label: [:optional, NilClass, String],
size: [:optional, NilClass, SageSchemas::ICON_SIZE],
})
Expand Down

0 comments on commit 94b3955

Please sign in to comment.