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