File Tree Component

Curated ago by @jeremysmithco

Description

This is a view component that renders out the file tree in the editor menu for RailsInspire.

1
2
3
4
5
class FileTreeComponent < ViewComponent::Base
  def initialize(tree)
    @tree = tree
  end
end