mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-22 08:15:53 +00:00
feat: 第一个可以用的 ink 组件抽象 (#158)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { ReactNode } from 'react'
|
||||
import React, { useContext } from 'react'
|
||||
import Text from '../../ink/components/Text.js'
|
||||
import type { Color, Styles } from '../../ink/styles.js'
|
||||
import { Text } from '@anthropic/ink'
|
||||
import type { Color, Styles } from '@anthropic/ink'
|
||||
import { getTheme, type Theme } from '../../utils/theme.js'
|
||||
import { useTheme } from './ThemeProvider.js'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user