// src/relay/pure-relay/extensions/ViewDataOnly.tsx
import { graphql } from "relay-runtime";
import { useFragment } from "relay-hooks";
import * as React from "react";
var ViewDataOnly_viewDataFragment = graphql`
  fragment ViewDataOnly_viewDataFragment on ViewData {
    viewDataField
  }
`;
var ViewDataOnly = (props) => {
  const viewData = useFragment(ViewDataOnly_viewDataFragment, props.viewData);
  return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", null, viewData.viewDataField));
};
export {
  ViewDataOnly,
  ViewDataOnly_viewDataFragment
};
