chore: version info modal

This commit is contained in:
jialin
2024-07-12 12:06:17 +08:00
parent c5327d3e56
commit 320db56fbe
38 changed files with 334 additions and 108 deletions
+8 -2
View File
@@ -22,7 +22,7 @@ const EditorWrap: React.FC<EditorwrapProps> = ({
showHeader = true
}) => {
const handleChangeLang = (value: string) => {
onChangeLang && onChangeLang(value);
onChangeLang?.(value);
};
const renderHeader = () => {
if (header) {
@@ -39,7 +39,13 @@ const EditorWrap: React.FC<EditorwrapProps> = ({
options={langOptions}
onChange={handleChangeLang}
></Select>
<CopyButton text={copyText} />
<CopyButton
text={copyText}
size="small"
style={{
color: 'rgba(255,255,255,.7)'
}}
/>
</div>
);
}