Releases: uiwjs/react-code-preview-layout
v3.1.5
Documentation v3.1.5: https://raw.githack.com/uiwjs/react-code-preview-layout/6d865a0/index.html
Comparing Changes: v3.1.4...v3.1.5
npm i react-code-preview-layout@3.1.5
- 💄 chore(deps): update dependency pretty-quick to ~3.3.0 (#28) 90d2234 @renovate-bot
- 💄 chore(deps): update dependency pretty-quick to v4 (#29) b7afb1e @renovate-bot
- 💄 chore(deps): update dependency lerna to v8 (#27) 91724ea @renovate-bot
- 🐞 fix(deps): update dependency @uiw/react-markdown-preview to v5 (#26) 895e197 @renovate-bot
- 💄 chore(deps): update dependency lint-staged to v15 (#25) 2828bf8 @renovate-bot
- 💄 chore(deps): update dependency husky to v9 (#30) 7092a66 @renovate-bot
- 💄 chore: update husky config. #30 3c11cc6
- 🌍 website: update example. 8d4688f
- 🎨 style: modify component style. 1ea9a9c
v3.1.4
Documentation v3.1.4: https://raw.githack.com/uiwjs/react-code-preview-layout/3bfc0a5/index.html
Comparing Changes: v3.1.3...v3.1.4
npm i react-code-preview-layout@3.1.4
- 🎨 style: modify code preview border radius. c20afa6
v3.1.3
Documentation v3.1.3: https://raw.githack.com/uiwjs/react-code-preview-layout/6b9628e/index.html
Comparing Changes: v3.1.2...v3.1.3
npm i react-code-preview-layout@3.1.3
v3.1.2
Documentation v3.1.2: https://raw.githack.com/uiwjs/react-code-preview-layout/cb6dd9c/index.html
Comparing Changes: v3.1.1...v3.1.2
npm i react-code-preview-layout@3.1.2
- 📖 doc: Update README.md 85e08dc
v3.1.1
Documentation v3.1.1: https://raw.githack.com/uiwjs/react-code-preview-layout/92fa381/index.html
Comparing Changes: v3.1.0...v3.1.1
npm i react-code-preview-layout@3.1.1
- 💄 chore(deps): update react monorepo to ~18.2.0 (#20) 613009f @renovate-bot
- 🐞 fix: fix CodeProps props. 3dfe67b
v3.1.0
Documentation v3.1.0: https://raw.githack.com/uiwjs/react-code-preview-layout/eb13505/index.html
Comparing Changes: v3.0.2...v3.1.0
npm i react-code-preview-layout@3.1.0
v3.0.2
Documentation v3.0.2: https://raw.githack.com/uiwjs/react-code-preview-layout/c76c466/index.html
Comparing Changes: v3.0.1...v3.0.2
npm i react-code-preview-layout@3.0.2
- 🎨 style: update code preview style. d1213f7
v3.0.1
Documentation v3.0.1: https://raw.githack.com/uiwjs/react-code-preview-layout/d61e7ef/index.html
Comparing Changes: v3.0.0...v3.0.1
npm i react-code-preview-layout@3.0.1
v3.0.0
Documentation v3.0.0: https://raw.githack.com/uiwjs/react-code-preview-layout/edab1cf/index.html
Comparing Changes: v2.1.1...v3.0.0
npm i react-code-preview-layout@3.0.0
import CodeLayout from "react-code-preview-layout"
+ const Preview = CodeLayout.Preview;
+ const Code = CodeLayout.Code;
+ const Toolbar = CodeLayout.Toolbar;
<CodeLayout
- title="示例"
- code={<code>{code}</code>}
- copyNodes={code}
>
+ <Preview>
<div>这里是示例展示</div>
+ </Preview>
+ <Toolbar>Code Example</Toolbar>
+ <Code>
+ {code}
+ </Code>
</CodeLayout>
v2.1.1
Documentation v2.1.1: https://raw.githack.com/uiwjs/react-code-preview-layout/c53ce81/index.html
Comparing Changes: v2.1.0...v2.1.1
npm i react-code-preview-layout@2.1.1
- 🐞 fix: fix codeProps.className props issue. 4821e18