Sha256: 1da1d16eebfd599dded858bdf568cfb1375b407adcc6dcca345ed7c270ca515a
Contents?: true
Size: 581 Bytes
Versions: 39
Compression:
Stored size: 581 Bytes
Contents
module PandaCms module ThemeHelper # TODO: Move these into one method? def h1(text, icon: "", additional_styles: "") render HeadingComponent.new(text: text, level: 1, icon: icon, additional_styles: additional_styles) end def h2(text, icon: "", additional_styles: "") render HeadingComponent.new(text: text, level: 2, icon: icon, additional_styles: additional_styles) end def h3(text, icon: "", additional_styles: "") render HeadingComponent.new(text: text, level: 3, icon: icon, additional_styles: additional_styles) end end end
Version data entries
39 entries across 39 versions & 1 rubygems