import {Box, Text} from '@roots/bud-support/ink'
export interface Props {
display?: boolean
}
const Footer = ({display}: Props) => {
if (!display) {
return (
{` `}
{` `}Press h{` `}
to show help
)
}
return (
{` `}
{` `}Shortcuts{` `}
{` `}
{` `}
Press b to open browser
{` `}
Press c{` `}
to toggle compact display
{` `}
Press d{` `}
to toggle detailed debug information (may be system intensive)
{` `}
Press e{` `}
to toggle entrypoints display
{` `}
Press h to hide help
{` `}
Press q to quit
{` `}
Press r{` `}
to clear/reload console
{` `}
Press s{` `}
to toggle server info display
)
}
export default Footer