Skip to content

Releases: uiwjs/react-code-preview-layout

v3.1.5

15 Mar 16:18
Compare
Choose a tag to compare

npm version

Documentation v3.1.5: https://raw.githack.com/uiwjs/react-code-preview-layout/6d865a0/index.html
Comparing Changes: v3.1.4...v3.1.5

v3.1.4

22 Jul 19:40
Compare
Choose a tag to compare

npm version

Documentation v3.1.4: https://raw.githack.com/uiwjs/react-code-preview-layout/3bfc0a5/index.html
Comparing Changes: v3.1.3...v3.1.4

  • 🎨 style: modify code preview border radius. c20afa6

v3.1.3

22 Jul 19:11
Compare
Choose a tag to compare

npm version

Documentation v3.1.3: https://raw.githack.com/uiwjs/react-code-preview-layout/6b9628e/index.html
Comparing Changes: v3.1.2...v3.1.3

  • 💄 chore(deps): update dependency lerna to v7 #22 f8e0780
  • 🎨 style: modify code preview style. 2fbdbcd

v3.1.2

22 Jul 18:12
Compare
Choose a tag to compare

npm version

Documentation v3.1.2: https://raw.githack.com/uiwjs/react-code-preview-layout/cb6dd9c/index.html
Comparing Changes: v3.1.1...v3.1.2

  • 📖 doc: Update README.md 85e08dc

v3.1.1

22 Jul 18:08
Compare
Choose a tag to compare

npm version

Documentation v3.1.1: https://raw.githack.com/uiwjs/react-code-preview-layout/92fa381/index.html
Comparing Changes: v3.1.0...v3.1.1

v3.1.0

22 Jul 17:43
Compare
Choose a tag to compare

npm version

Documentation v3.1.0: https://raw.githack.com/uiwjs/react-code-preview-layout/eb13505/index.html
Comparing Changes: v3.0.2...v3.1.0

  • 💄 chore: update workflows config. bacd805
  • 🌟 feat(Code): add as props & remove CodeProps type. 22583ad

v3.0.2

05 Jul 06:13
Compare
Choose a tag to compare

npm version

Documentation v3.0.2: https://raw.githack.com/uiwjs/react-code-preview-layout/c76c466/index.html
Comparing Changes: v3.0.1...v3.0.2

  • 🎨 style: update code preview style. d1213f7

v3.0.1

19 May 04:05
Compare
Choose a tag to compare

npm version

Documentation v3.0.1: https://raw.githack.com/uiwjs/react-code-preview-layout/d61e7ef/index.html
Comparing Changes: v3.0.0...v3.0.1

  • 💄 chore: update workflows config. d7b461b
  • 💄 chore(deps): update dependency tsbb to v4 #19 4fd95db
  • 🆎 type: fix ref props. f3b6b98
  • 🆎 type: fix ref props. a164f4a

v3.0.0

07 Mar 16:31
Compare
Choose a tag to compare

npm version

Documentation v3.0.0: https://raw.githack.com/uiwjs/react-code-preview-layout/edab1cf/index.html
Comparing Changes: v2.1.1...v3.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>
  • 🌟 feat: refactor code. 36466f9
  • 💄 chore(deps): update dependency kkt to 7.4.0 f1c293b
  • 💄 chore(deps): update devDependencies. ad0179b

v2.1.1

06 Mar 15:51
Compare
Choose a tag to compare

npm version

Documentation v2.1.1: https://raw.githack.com/uiwjs/react-code-preview-layout/c53ce81/index.html
Comparing Changes: v2.1.0...v2.1.1

  • 🐞 fix: fix codeProps.className props issue. 4821e18