Class: Shadcn::Checkbox::Preview

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

Instance Method Summary collapse

Instance Method Details

#defaultObject



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

def default
  render_with_template
end

#statesObject

Upstream's "Checked State" and "Invalid State", with indeterminate beside them.



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

def states
  render_with_template
end