diff options
| author | matt korwel <[email protected]> | 2025-06-05 18:14:02 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-05 18:14:02 -0700 |
| commit | 2f51c22141d4628cddab719ca60d10e38507237f (patch) | |
| tree | 24f08a887254dc2b764c03e9e5a3b80d068c096f /packages/cli/src/ui/components/Header.tsx | |
| parent | 8a0a2523ca50eabe1e0701ac049e2e5c7f61791a (diff) | |
Title & Big text Updates (#781)
Diffstat (limited to 'packages/cli/src/ui/components/Header.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/Header.tsx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/cli/src/ui/components/Header.tsx b/packages/cli/src/ui/components/Header.tsx index 1554f987..207673ff 100644 --- a/packages/cli/src/ui/components/Header.tsx +++ b/packages/cli/src/ui/components/Header.tsx @@ -18,15 +18,19 @@ const asciiArtLogo = ` ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝ `; -export const Header: React.FC = () => ( +interface HeaderProps { + title?: string; +} + +export const Header: React.FC<HeaderProps> = ({ title = asciiArtLogo }) => ( <> <Box marginBottom={1} alignItems="flex-start"> {Colors.GradientColors ? ( <Gradient colors={Colors.GradientColors}> - <Text>{asciiArtLogo}</Text> + <Text>{title}</Text> </Gradient> ) : ( - <Text>{asciiArtLogo}</Text> + <Text>{title}</Text> )} </Box> </> |
