mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-19 14:09:31 +02:00
fix: text split try catch
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
import Typography from '@mui/material/Typography'
|
||||
import { Box, Stack, TextField } from '@mui/material'
|
||||
import Button from '@mui/material/Button'
|
||||
import DownloadIcon from '@mui/icons-material/Download'
|
||||
import ContentPasteIcon from '@mui/icons-material/ContentPaste'
|
||||
import React from 'react'
|
||||
import Typography from '@mui/material/Typography';
|
||||
import { Box, Stack, TextField } from '@mui/material';
|
||||
import Button from '@mui/material/Button';
|
||||
import DownloadIcon from '@mui/icons-material/Download';
|
||||
import ContentPasteIcon from '@mui/icons-material/ContentPaste';
|
||||
import React from 'react';
|
||||
|
||||
export default function ToolTextResult({ title = 'Result', value }: { title?: string; value: string }) {
|
||||
export default function ToolTextResult({
|
||||
title = 'Result',
|
||||
value
|
||||
}: {
|
||||
title?: string;
|
||||
value: string;
|
||||
}) {
|
||||
return (
|
||||
<Box>
|
||||
<Typography fontSize={30} color={'primary'}>
|
||||
@@ -17,5 +23,5 @@ export default function ToolTextResult({ title = 'Result', value }: { title?: st
|
||||
<Button startIcon={<ContentPasteIcon />}>Copy to clipboard</Button>
|
||||
</Stack>
|
||||
</Box>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user