import { Text } from 'ink' ; import React from 'react' ; import { Color } from '../../types/text' ; export type CursorProps = { color ? : Color ; active ? : boolean ; } ; export function Cursor ( { color = 'redBright' , active = true } ) { return < Text backgroundColor = { active ? color : undefined } > < /Text>; }