Sha256: 9e1586f0454de817daadd1dd92554a2947b7511a0040f7361cbcd55f9672eeaa

Contents?: true

Size: 244 Bytes

Versions: 4

Compression:

Stored size: 244 Bytes

Contents

module Components::ToastHelper
  def render_toast(header: nil, description: nil, action: nil, class: nil, data: nil, **options, &block)
    render "components/ui/toast", header:, description:, action:, class:, data:, options: options
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shadcn-ui-0.0.4 app/helpers/components/toast_helper.rb
shadcn-ui-0.0.3 app/helpers/components/toast_helper.rb
shadcn-ui-0.0.2 app/helpers/components/toast_helper.rb
shadcn-ui-0.0.1 app/helpers/components/toast_helper.rb