mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-31 02:59:39 +02: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:
parent
d5b147f2cd
commit
ab6fdbbb68
182 changed files with 322 additions and 321 deletions
|
@ -1,10 +1,10 @@
|
|||
class ButtonComponentPreview < ViewComponent::Preview
|
||||
# @param variant select {{ ButtonComponent::VARIANTS.keys }}
|
||||
# @param size select {{ ButtonComponent::SIZES.keys }}
|
||||
# @param variant select {{ DS::Button::VARIANTS.keys }}
|
||||
# @param size select {{ DS::Button::SIZES.keys }}
|
||||
# @param disabled toggle
|
||||
# @param icon select ["plus", "circle"]
|
||||
def default(variant: "primary", size: "md", disabled: false, icon: "plus")
|
||||
render ButtonComponent.new(
|
||||
render DS::Button.new(
|
||||
text: "Sample button",
|
||||
variant: variant,
|
||||
size: size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue