Typescript support

This commit is contained in:
rocketdebris 2026-05-27 08:47:53 -04:00
parent 354175ff2f
commit 0712a629a9
5 changed files with 40 additions and 7 deletions

View file

@ -1,7 +1,9 @@
import { Logo } from "./logo";
import { ControlBar } from "./control_bar"
export function Header({ isGallery, handleClick }) {
import type { ControlBarProps } from "./control_bar"
export function Header({ isGallery, handleClick }: ControlBarProps) {
return (
<div className="header flex flex-row m-5 mr-10 md:mr-0 ml-10 md:ml-20 xl:ml-50 gap-5 items-center">
<a href="https://www.ligonier.org">