Commit 991687b4 by HoMeTown

chore: 替换完项目中的nextui

parent b1ee224f
...@@ -107,7 +107,7 @@ export default defineConfig({ ...@@ -107,7 +107,7 @@ export default defineConfig({
reactJoyride: '/node_modules[\\/].pnpm[\\/]react-joyride/', reactJoyride: '/node_modules[\\/].pnpm[\\/]react-joyride/',
reactMarkdown: '/node_modules[\\/]react-markdown/', reactMarkdown: '/node_modules[\\/]react-markdown/',
reactHotToast: '/node_modules[\\/]react-hot-toast/', reactHotToast: '/node_modules[\\/]react-hot-toast/',
nextUi: /node_modules[\\/]@heroui/, heroui: /node_modules[\\/]@heroui/,
}, },
}, },
}, },
......
import type { NextUIPluginConfig } from '@heroui/react' import type { HeroUIPluginConfig } from '@heroui/react'
export const theme: NextUIPluginConfig = { export const theme: HeroUIPluginConfig = {
prefix: 'sdream', prefix: 'sdream',
themes: { themes: {
light: { light: {
......
...@@ -72,7 +72,7 @@ export const ChatAnswerBox: React.FC<ChatAnswerBoxProps> = ({ record, showIndex, ...@@ -72,7 +72,7 @@ export const ChatAnswerBox: React.FC<ChatAnswerBoxProps> = ({ record, showIndex,
</div> </div>
{isTyping && ( {isTyping && (
<div className="sm:pl-[62px] mt-[12px]"> <div className="sm:pl-[62px] mt-[12px]">
<Button onPress={handleStopTyping} color="primary" variant="bordered"> <Button onClick={handleStopTyping} color="primary" variant="bordered">
停止生成 停止生成
</Button> </Button>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment