{% extends 'file_view_react.html' %}
{% load render_bundle from webpack_loader %}
{% load seahub_tags %}

{% block extra_style %}
{% render_bundle 'viewFileText' 'css' %}
{% endblock %}

{% block extra_data %}
  fileExt: '{{ fileext|escapejs }}',
  fileEnc: '{{ file_enc|escapejs }}',
  fileContent: '{{ file_content|escapejs }}'
{% endblock %}

{% block render_bundle %}
{% render_bundle 'viewFileText' 'js' %}
{% endblock %}
