Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sdream-ai-fe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
侯明涛
sdream-ai-fe
Commits
991687b4
Commit
991687b4
authored
Jan 23, 2025
by
HoMeTown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 替换完项目中的nextui
parent
b1ee224f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
rsbuild.config.ts
+1
-1
src/config/theme.ts
+2
-2
src/pages/Chat/components/ChatItem/ChatAnswerBox.tsx
+1
-1
No files found.
rsbuild.config.ts
View file @
991687b4
...
@@ -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/'
,
nextU
i
:
/node_modules
[\\/]
@heroui/
,
herou
i
:
/node_modules
[\\/]
@heroui/
,
},
},
},
},
},
},
...
...
src/config/theme.ts
View file @
991687b4
import
type
{
Next
UIPluginConfig
}
from
'@heroui/react'
import
type
{
Hero
UIPluginConfig
}
from
'@heroui/react'
export
const
theme
:
Next
UIPluginConfig
=
{
export
const
theme
:
Hero
UIPluginConfig
=
{
prefix
:
'sdream'
,
prefix
:
'sdream'
,
themes
:
{
themes
:
{
light
:
{
light
:
{
...
...
src/pages/Chat/components/ChatItem/ChatAnswerBox.tsx
View file @
991687b4
...
@@ -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
on
Press
=
{
handleStopTyping
}
color=
"primary"
variant=
"bordered"
>
<
Button
on
Click
=
{
handleStopTyping
}
color=
"primary"
variant=
"bordered"
>
停止生成
停止生成
</
Button
>
</
Button
>
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment