Skip to content

Commit 52e9d27

Browse files
committed
fix: add shareEnabled option in the props
1 parent 648dddf commit 52e9d27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/graphql-playground-react/src/components/PlaygroundWrapper.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export interface PlaygroundWrapperProps {
4444
subscriptionEndpoint?: string
4545
setTitle?: boolean
4646
settings?: ISettings
47+
shareEnabled?: string
4748
folderName?: string
4849
configString?: string
4950
showNewWorkspace?: boolean
@@ -373,6 +374,7 @@ class PlaygroundWrapper extends React.Component<
373374
)}
374375
<Playground
375376
endpoint={this.state.endpoint}
377+
shareEnabled={this.props.shareEnabled}
376378
subscriptionEndpoint={this.state.subscriptionEndpoint}
377379
shareUrl={this.state.shareUrl}
378380
onChangeEndpoint={this.handleChangeEndpoint}

0 commit comments

Comments
 (0)