Sha256: e5f32ac3e6dbf7078a5c01ce3678edc8547bddcba132d6c8364a4d2abb093b80

Contents?: true

Size: 378 Bytes

Versions: 6

Compression:

Stored size: 378 Bytes

Contents

module Coco
  module App
    module Elements
      class Link < Coco::Link
        include Concerns::AcceptsOptions
        include Concerns::AcceptsTheme

        THEMES = %W[positive primary warning negative info neutral-dark neutral-light] << nil

        accepts_option :theme, from: THEMES
        accepts_option :underline, from: [true, false]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
coveragebook_components-0.7.8 app/components/coco/app/elements/link/link.rb
coveragebook_components-0.7.7 app/components/coco/app/elements/link/link.rb
coveragebook_components-0.7.6 app/components/coco/app/elements/link/link.rb
coveragebook_components-0.7.5 app/components/coco/app/elements/link/link.rb
coveragebook_components-0.7.4 app/components/coco/app/elements/link/link.rb
coveragebook_components-0.7.3 app/components/coco/app/elements/link/link.rb