- {children}
-
- );
- }
-
- return No results
- ) : ( -Empty directory
- ) : ( -No recent files
- ) : ( -No pinned files
- ) : ( --- ); -} - -// ── Scroll to top button ── -export function ScrollToTopButton({ scrollContainer }: { scrollContainer: React.RefObject- {lang && ( - - {lang} - - )} - {code}-
- {children}
-
- );
- }
-
- return {content}
-);
-
-// ── Code renderer with syntax highlighting ──
-export const CodeRenderer = ({ content, lang }: { content: string; lang: string }) => {
- const [html, setHtml] = useState{fileName}
- {loaded &&{formatTime(duration)}
} -