mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
Component namespacing (#2463)
* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT * [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT * Update stimulus controller references to use namespace * Fix remaining tests
This commit is contained in:
@@ -2,6 +2,6 @@ class AlertComponentPreview < Lookbook::Preview
|
||||
# @param message text
|
||||
# @param variant select [info, success, warning, error]
|
||||
def default(message: "This is an alert message.", variant: :info)
|
||||
render AlertComponent.new(message: message, variant: variant.to_sym)
|
||||
render DS::Alert.new(message: message, variant: variant.to_sym)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user