mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 19:44:09 +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,7 +2,7 @@ class DisclosureComponentPreview < ViewComponent::Preview
|
||||
# @display container_classes max-w-[400px]
|
||||
# @param align select ["left", "right"]
|
||||
def default(align: "right")
|
||||
render DisclosureComponent.new(title: "Title", align: align, open: true) do |disclosure|
|
||||
render DS::Disclosure.new(title: "Title", align: align, open: true) do |disclosure|
|
||||
disclosure.with_summary_content do
|
||||
content_tag(:p, "$200.25", class: "text-xs font-mono font-medium")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user