<%= react_component("PageFiles", locale: @locale, locales: PagesCore.config.locales, csrf_token: form_authenticity_token, records: ActiveModel::Serializer::CollectionSerializer.new( @page.files, serializer: Admin::PageFileSerializer )) %>