Sha256: b26adbd60ed60933dbe5d02c9697f764a60d95b788ad9fa9fbf239eab3b11a21

Contents?: true

Size: 404 Bytes

Versions: 4

Compression:

Stored size: 404 Bytes

Contents

import React from "react";
import useAttachments from "./Attachments/useAttachments";
import List from "./Attachments/List";
import * as Attachment from "../types/Attachments";

interface Props extends Attachment.Options {
  records: Attachment.Record[];
}

export default function Attachments(props: Props) {
  const state = useAttachments(props.records);

  return <List state={state} {...props} />;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pages_core-3.15.4 app/javascript/components/Attachments.tsx
pages_core-3.15.3 app/javascript/components/Attachments.tsx
pages_core-3.15.2 app/javascript/components/Attachments.tsx
pages_core-3.15.1 app/javascript/components/Attachments.tsx