type CodeEditorFooterProps = { content: string; linesLabel: string; charactersLabel: string; shortcutsLabel: string; }; export default function CodeEditorFooter({ content, linesLabel, charactersLabel, shortcutsLabel, }: CodeEditorFooterProps) { return (
{linesLabel} {content.split('\n').length} {charactersLabel} {content.length}
{shortcutsLabel}
); }