npm install react-text-diff Usage import {Component} from 'react'; import CodeDiff from 'react-text-diff'; class Demo extends Component{ constructor(props) { super(props); this.state = { oldStr: oldStr, newStr: newStr, context: 100000, // max 100000 outputFormat: 'side-by-side' //...
A simple and beautiful text diff viewer component made with Diff and React. - praneshr/react-diff-viewer
➕➖ The react component to generate pretty HTML for comparing commits or text. - neighborhood999/react-gh-like-diff
; - - const contentType = validatedUrl?.get("content-type"); + const contentType = header?.get("content-type"); let linkType = "url"; let imageExtension = "png"; diff --git a/lib/api/controllers/links/postLink.ts b/lib/api/controllers/links/postLink.ts index 8693f658..805...
{ - .text-balance { - text-wrap: balance; - } -} +@tailwind utilities; \ No newline at end of file diff --git a/src/app/layout.js b/src/app/layout.js index 9aef1df..e757b33 100644 --- a/src/app/layout.js +++ b/src/app/layout.js @@ -1,17 +1,23 @@ import { ...
UTF-8?q?=E8=A7=A3=E5=86=B3Warning:=20 - {helmet.title.toComponent()} - {helmet.meta.toComponent()} - {helmet.link.toComponent()} + {helmet.title.toComponent()} + {helmet.meta.toComponent()} + {helmet.link.toComponent()} ...
+ "react": "^18.0.0", + "react-dom": "^18.0.0" + }, + "devDependencies": { + "cross-env": "^7.0.3" + } +} diff --git a/src/@lekoarts/gatsby-theme-minimal-blog/texts/bottom.mdx b/src/@lekoarts/gatsby-theme-minimal-blog/texts/bottom.mdx new file mode 100644 index 00000...
- -``` -```js react-live -const onClick = () => { - alert("You opened me"); -}; -render(Alohomora!); -``` -``` +Hi! -### Adding content +I'm PeakCool, 前端工程狮, 喜欢目前我所做的一切. -### Adding a new blog post +这里是 [我的博客](https://blog.peakcool....
{ useRef, useImperativeHandle, forwardRef, useState } from 'react' +import ConfirmAlert, { type ConfirmAlertType } from '@/components/common/ConfirmAlert' +import Text from '@/components/common/Text' +import { InteractionManager, View } from 'react-native' +import { createStyle } f...
{ useRef, useImperativeHandle, forwardRef, useState } from 'react' +import ConfirmAlert, { type ConfirmAlertType } from '@/components/common/ConfirmAlert' +import Text from '@/components/common/Text' +import { InteractionManager, View } from 'react-native' +import { createStyle } ...