mirror of
https://github.com/ritz078/transform.git
synced 2026-11-22 09:01:31 +03:00
improvements
This commit is contained in:
1 parent
64ee0a92d5
commit
e30ddc58e0
3 files changed
+4
-4
No files matched your search
@@ -17,6 +17,7 @@ if (isBrowser) {
|
||||
require("brace/mode/typescript");
|
||||
require("brace/mode/css");
|
||||
require("brace/mode/html");
|
||||
require("brace/mode/rust")
|
||||
}
|
||||
|
||||
// const prettierParsers = {
|
||||
|
||||
@@ -61,10 +61,10 @@ export default function({ children, pathname }) {
|
||||
return (
|
||||
<div className="main-wrapper">
|
||||
<Head>
|
||||
<title>Transform | All important React transforms at one place.</title>
|
||||
<title>Transform | All important transforms at one place.</title>
|
||||
<meta
|
||||
rel="description"
|
||||
content="An online utility to convert a JSON object to prop-types, Typescript Interface or flow types. It also converts your CSS into JS and HTML into JSX."
|
||||
content="An online utility to convert a JSON object to prop-types, Typescript Interface, Rust serde or flow types. It also converts your CSS into JS and HTML into JSX."
|
||||
/>
|
||||
<meta name="google-site-verification" content="bjJSOEahdert-7mwVScrwTTUVR3nSe0bEj5YjevUNn0" />
|
||||
<link rel="icon" type="image/png" href="/static/favicon.png" />
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import React, { PureComponent } from "react";
|
||||
import dynamic from "next/dynamic";
|
||||
import { Json2dts, toValidJSON } from "../utils/json-to-rust-serde";
|
||||
import Layout from "../components/Layout";
|
||||
import ConversionPanel from "../components/ConversionPanel";
|
||||
@@ -29,7 +28,7 @@ export default class Json2Ts extends PureComponent {
|
||||
name={"ts_interface"}
|
||||
defaultText={defaultText}
|
||||
leftMode="json"
|
||||
rightMode="javascript"
|
||||
rightMode="rust"
|
||||
url={this.props.url}
|
||||
/>
|
||||
</Layout>
|
||||
|
||||
Reference in new issue
Block a user