Sha256: 21ed00fbd023534fb22b98bf890609e9becbe91576cd37f4100e033490667447

Contents?: true

Size: 626 Bytes

Versions: 3

Compression:

Stored size: 626 Bytes

Contents

<textarea
  class="<%= tw("flex min-h-[80px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", options[:class]) %>"
  placeholder="<%= options[:placeholder] %>"
  name="<%= name %>"
  id="<% id %>"
  <%= options[:disabled] ? "disabled" : "" %>
  <%= options[:required] ? "required" : "" %>
  <%= options[:readonly] ? "readonly" : "" %>
  <%= options[:rows] ? "rows" : "" %>><%= value %></textarea>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/views/components/ui/_textarea.html.erb
shadcn-ui-0.0.14 app/views/components/ui/_textarea.html.erb
shadcn-ui-0.0.13 app/views/components/ui/_textarea.html.erb