diff --git a/core/README.md b/core/README.md index 8c60212..c0ad96e 100644 --- a/core/README.md +++ b/core/README.md @@ -3,7 +3,7 @@ react-keywords === -[![Build & Deploy](https://github.com/uiwjs/react-keywords/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/react-keywords/actions/workflows/ci.yml) +[![CI](https://github.com/uiwjs/react-keywords/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/react-keywords/actions/workflows/ci.yml) [![npm version](https://img.shields.io/npm/v/react-keywords.svg)](https://www.npmjs.com/package/react-keywords) [![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/react-keywords/file/README.md) @@ -34,6 +34,40 @@ export default function Demo() { } ``` +```html + + + + + + + + + +
+ + + + +``` + ## render ```jsx mdx:preview diff --git a/www/public/bundle.html b/www/public/bundle.html index 031916c..e66de66 100644 --- a/www/public/bundle.html +++ b/www/public/bundle.html @@ -2,9 +2,9 @@ - - - + + + Keywords Highlight for React. @@ -27,8 +27,9 @@ ); } - - ReactDOM.render(, document.getElementById('container')); + const container = document.getElementById('container'); + const root = ReactDOM.createRoot(container); + root.render();