UNPKG

@nanocollective/nanocoder

Version:

A local-first CLI coding agent that brings the power of agentic coding tools like Claude Code and Gemini CLI to local models or controlled APIs like OpenRouter

27 lines 1.48 kB
import type { BoxProps } from 'ink'; export type TitleShape = 'rounded' | 'square' | 'double' | 'pill' | 'arrow-left' | 'arrow-right' | 'arrow-double' | 'angled-box' | 'powerline-angled' | 'powerline-angled-thin' | 'powerline-block' | 'powerline-block-alt' | 'powerline-curved' | 'powerline-curved-thin' | 'powerline-flame' | 'powerline-flame-thin' | 'powerline-graph' | 'powerline-ribbon' | 'powerline-segment' | 'powerline-segment-thin'; export interface StyledTitleProps extends Omit<BoxProps, 'borderStyle'> { /** Title text to display */ title: string; /** Shape style for the title */ shape?: TitleShape; /** Border/background color */ borderColor?: string; /** Text color */ textColor?: string; /** Icon to display before title */ icon?: string; /** Padding around title */ padding?: number; /** Width of the title container */ width?: number | string; /** Reverse powerline symbol order (right-left instead of left-right) */ reversePowerline?: boolean; } export declare function hasNerdFontSupport(): boolean; /** * StyledTitle component that renders titles with various stylized shapes * Supports powerline symbols, arrows, and traditional box drawing characters */ export declare function StyledTitle({ title, shape, borderColor, textColor, icon, padding, width, reversePowerline, ...boxProps }: StyledTitleProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=styled-title.d.ts.map