Class: Shadcn::Input::Preview

Inherits:
ApplicationViewComponentPreview show all
Defined in:
app/components/shadcn/input/preview.rb

Instance Method Summary collapse

Instance Method Details

#defaultObject



6
7
8
# File 'app/components/shadcn/input/preview.rb', line 6

def default
  render_with_template
end

#statesObject

Upstream's "Disabled", "Invalid", "File" and "Required", together: each is an attribute passed straight through rather than a variant.



11
12
13
# File 'app/components/shadcn/input/preview.rb', line 11

def states
  render_with_template
end