MCPcopy Create free account
hub / github.com/IamIsPra/tinywebp / HeaderProps

Interface HeaderProps

src/components/Header.tsx:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import tinyWebPLogo from "../assets/tinywebp_logo.webp";
5
6interface HeaderProps {
7 theme: 'light' | 'dark';
8 toggleTheme: () => void;
9}
10
11const Header: React.FC<HeaderProps> = ({ theme, toggleTheme }) => {
12 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected