Sha256: 494b6c923d1590117a012158bae8d9220e4ac5193767ac5b4dbe9bb760c68894

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

module Phlexi
  module Table
    module Components
      class Hint < Base
        def view_template
          p(**attributes) do
            field.hint
          end
        end

        private

        def render?
          field.has_hint?
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phlexi-table-0.0.1 lib/phlexi/table/components/hint.rb