chore: images create

This commit is contained in:
jialin
2024-11-22 10:00:34 +08:00
parent c3473673da
commit dde937f460
52 changed files with 1883 additions and 941 deletions
+4
View File
@@ -9,8 +9,10 @@ const HighlightCode: React.FC<{
copyable?: boolean;
theme?: 'light' | 'dark';
height?: string | number;
style?: React.CSSProperties;
}> = (props) => {
const {
style,
code,
lang = 'bash',
copyable = true,
@@ -26,9 +28,11 @@ const HighlightCode: React.FC<{
code={code}
copyable={copyable}
height={height}
style={style}
/>
) : (
<CodeViewerLight
style={style}
lang={lang}
code={code}
copyable={copyable}