diff --git a/playground/App.tsx b/playground/App.tsx index 8fb82a3..67997c7 100644 --- a/playground/App.tsx +++ b/playground/App.tsx @@ -6,7 +6,6 @@ import { AppShell, Code, Divider, - Flex, Group, Input, ScrollArea, @@ -21,6 +20,7 @@ import '@mantine/core/styles.css'; import { IconBrandGithub, IconMoon, IconSun } from '@tabler/icons-react'; import * as graphql from 'graphql'; import { useState } from "react"; +import classes from './Playground.module.css'; const sampleGqlSchema = ` type Query { @@ -69,7 +69,7 @@ function Playground() { const [gqlSchemaStr, setGqlSchemaStr] = useState(sampleGqlSchema); const [typeName, setTypeName] = useState('Query'); - return + return
- + + - ; +
; } function Result(props: { gqlSchemaInput: string, convertedTypeName: string | undefined }) { @@ -145,9 +146,9 @@ export function App() { padding="lg" > - - GraphQL to JSON Schema Playground - + + GraphQL to JSON Schema Playground +