Typescript support
This commit is contained in:
parent
354175ff2f
commit
0712a629a9
5 changed files with 40 additions and 7 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue