chore: refactor component exports for consistency (#26033)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
GuanMu
2025-09-23 17:04:56 +08:00
committed by GitHub
parent 8b74ae683a
commit fb6ccccc3d
5 changed files with 5 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ const useThinkTimer = (children: any) => {
return { elapsedTime, isComplete }
}
export const ThinkBlock = ({ children, ...props }: any) => {
const ThinkBlock = ({ children, ...props }: React.ComponentProps<'details'>) => {
const { elapsedTime, isComplete } = useThinkTimer(children)
const displayContent = removeEndThink(children)
const { t } = useTranslation()