Sha256: 3673911b3c32a242067a6449e9a158c6573499854aefd2ccaa56171216fbf6f3

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

module Cosensee
  class TailwindRenderer
    TextBracket = Data.define(:content) do
      def render
        rendered = TailwindRenderer.new(content: content.content).render
        %(<span>[#{rendered}]</span>)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cosensee-0.6.0 lib/cosensee/tailwind_renderer/text_bracket.rb