Files
cherry-studio/src/renderer/src/components/CodeBlockView/StatusBar.tsx
T
one 929f7445ed feat(CodeBlock): support matplotlib in code execution (#8069)
* feat(CodeBlock): support matplotlib in code execution

* refactor: update output style and docs

* refactor: use ImageViewer

* refactor: manage service config, increase timeout and retry count

* refactor: improve worker message logging

* chore: upgrade pyodide to 0.28.0

* docs: fix typos
2025-07-21 21:19:06 +08:00

24 lines
486 B
TypeScript

import { Flex } from 'antd'
import { FC, memo, ReactNode } from 'react'
import styled from 'styled-components'
interface Props {
children: string | ReactNode
}
const StatusBar: FC<Props> = ({ children }) => {
return <Container>{children}</Container>
}
const Container = styled(Flex)`
background-color: var(--color-background-mute);
padding: 12px;
display: flex;
flex-direction: column;
gap: 8px;
overflow-y: auto;
text-wrap: wrap;
`
export default memo(StatusBar)