Sha256: c4ea894b60dfde8fe9fc6342b1fdad6aff51e24f44020351cce3181d6f005405

Contents?: true

Size: 589 Bytes

Versions: 1

Compression:

Stored size: 589 Bytes

Contents

import { GridState } from "../../types/Images";
import { Locale } from "../../types";

import Grid from "../ImageGrid/Grid";

type Props = {
  locale: string;
  locales: { [index: string]: Locale };
  state: GridState;
};

export default function Images(props: Props) {
  return (
    <div className="page-images">
      <Grid
        attribute="page[page_images_attributes]"
        primaryAttribute="page[image_id]"
        enablePrimary={true}
        showEmbed={true}
        locale={props.locale}
        locales={props.locales}
        state={props.state}
      />
    </div>
  );
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pages_core-3.15.5 app/javascript/components/PageForm/Images.tsx