# frozen_string_literal: true
require 'react/curses/nodes'
module React
class Curses
def self.render(element)
Nodes.klass_for(element).new(nil, element).draw
end