Sha256: 9bfd81836e433b00b8ddc158ac3049538c609f50f92f5922690c4af6b5392205

Contents?: true

Size: 694 Bytes

Versions: 15

Compression:

Stored size: 694 Bytes

Contents

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

export default class PageImages extends React.Component {
  render() {
    return (
      <div className="page-images">
        <ImageGrid attribute="page[page_images_attributes]"
                   primaryAttribute="page[image_id]"
                   enablePrimary={true}
                   showEmbed={true}
                   locale={this.props.locale}
                   locales={this.props.locales}
                   records={this.props.records} />
      </div>
    );
  }
}

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

Version data entries

15 entries across 15 versions & 1 rubygems

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