rubyx-debugger/app/source_view.rb
2015-07-22 16:26:46 +03:00

18 lines
233 B
Ruby

class SourceView
include React::Component
required_param :author
required_param :text
def render
div class: "source" do
h2(class: "sourceAuthor") { author }
div do
text
end
end
end
end