✨ feat: 为 Highlight 组件添加外层 wrapper 模式 #608
Annotations
5 errors
test:
src/Highlight/demos/basic.tsx#L8
Property 'containerWrapper' is missing in type '{ children: string; language: string; theme: "dark"; onCopy: (children: any) => void; }' but required in type '{ containerWrapper: boolean; }'.
|
test:
src/Highlight/demos/lineNumber.tsx#L8
Property 'containerWrapper' is missing in type '{ children: string; lineNumber: true; onCopy: (children: any) => void; language: string; }' but required in type '{ containerWrapper: boolean; }'.
|
test:
src/Highlight/demos/theme.tsx#L69
Property 'containerWrapper' is missing in type '{ children: any; language: "json"; theme: "dark" | "light"; lineNumber: boolean; type: "pure" | "block"; }' but required in type '{ containerWrapper: boolean; }'.
|
test:
src/ProBuilder/components/Code/index.tsx#L87
Property 'containerWrapper' is missing in type '{ children: string; theme: "dark" | "light"; lineNumber: true; language: string; style: { height: string; }; onCopy: (children: any) => void; }' but required in type '{ containerWrapper: boolean; }'.
|
test
Process completed with exit code 1.
|