Sha256: f3f875d7f97b9f6008977e285edb42918db1f6e1226ba300f6738ed960b4289b

Contents?: true

Size: 611 Bytes

Versions: 18

Compression:

Stored size: 611 Bytes

Contents

import React from "react";
import PropTypes from "prop-types";
import Attachments from "./Attachments";

export default class PageFiles extends React.Component {
  render() {
    return (
      <div className="page-files">
        <Attachments attribute="page[page_files_attributes]"
                     showEmbed={true}
                     locale={this.props.locale}
                     locales={this.props.locales}
                     records={this.props.records} />
      </div>
    );
  }
}

PageFiles.propTypes = {
  locale: PropTypes.string,
  locales: PropTypes.object,
  records: PropTypes.array
};

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
pages_core-3.12.4 app/javascript/components/PageFiles.jsx
pages_core-3.12.3 app/javascript/components/PageFiles.jsx
pages_core-3.12.2 app/javascript/components/PageFiles.jsx
pages_core-3.12.1 app/javascript/components/PageFiles.jsx
pages_core-3.12.0 app/javascript/components/PageFiles.jsx
pages_core-3.11.3 app/javascript/components/PageFiles.jsx
pages_core-3.11.2 app/javascript/components/PageFiles.jsx
pages_core-3.11.1 app/javascript/components/PageFiles.jsx
pages_core-3.11.0 app/javascript/components/PageFiles.jsx
pages_core-3.10.2 app/javascript/components/PageFiles.jsx
pages_core-3.10.1 app/javascript/components/PageFiles.jsx
pages_core-3.9.2 app/javascript/components/PageFiles.jsx
pages_core-3.9.1 app/javascript/components/PageFiles.jsx
pages_core-3.9.0 app/javascript/components/PageFiles.jsx
pages_core-3.8.3 app/javascript/components/PageFiles.jsx
pages_core-3.8.2 app/javascript/components/PageFiles.jsx
pages_core-3.8.1 app/javascript/components/PageFiles.jsx
pages_core-3.8.0 app/javascript/components/PageFiles.jsx