UNPKG

@redocly/graphql-docs

Version:

Redocly GraphQL docs

2 lines (1 loc) 438 B
import{jsx as e,jsxs as o}from"react/jsx-runtime";import{RightSection as p}from"../../app/index.js";import{OperationRequestExample as i}from"./OperationRequestExample.js";import{OperationReturnTypeExample as m}from"./OperationReturnTypeExample.js";function f({operationType:r,operation:t}){return o(p,{"data-testid":"right-section-"+t.name,children:[e(i,{operation:t,operationType:r}),e(m,{type:t.type})]})}export{f as OperationExample};