<%= react_component("PageFiles", locale: @locale, locales: PagesCore.config.locales, records: @page.files.map { |pf| Admin::PageFileResource.new(pf).to_hash }) %>