Sha256: 3d48b2f59173b9e2f7fc5ef130051d8afa41244fadcc0d1c2ee9b551ff45f069

Contents?: true

Size: 585 Bytes

Versions: 5

Compression:

Stored size: 585 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

5 entries across 5 versions & 1 rubygems

Version Path
pages_core-3.14.0 app/javascript/components/PageFiles.jsx
pages_core-3.13.0 app/javascript/components/PageFiles.jsx
pages_core-3.12.7 app/javascript/components/PageFiles.jsx
pages_core-3.12.6 app/javascript/components/PageFiles.jsx
pages_core-3.12.5 app/javascript/components/PageFiles.jsx