@blocklet/pages-kit-block-studio 0.1.9 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -201,7 +201,7 @@ ${content.trim()}`;
|
|
|
201
201
|
export function generateComponent(content, _isDev = true) {
|
|
202
202
|
const htmlContent = content.html;
|
|
203
203
|
// const { name } = content;
|
|
204
|
-
return `import React, { useEffect, useRef } from 'react';
|
|
204
|
+
return `import React, { useEffect, useRef } from '@blocklet/pages-kit/builtin/react';
|
|
205
205
|
|
|
206
206
|
|
|
207
207
|
export default function HtmlPreview() {
|