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