diff --git a/packages/web/src/components/layout/MobileScreenHeader.tsx b/packages/web/src/components/layout/MobileScreenHeader.tsx new file mode 100644 index 00000000..779ae22b --- /dev/null +++ b/packages/web/src/components/layout/MobileScreenHeader.tsx @@ -0,0 +1,26 @@ +import React from 'react'; +import { useUIStore } from '../../stores/uiStore'; + +interface MobileScreenHeaderProps { + title: string; + rightActions?: React.ReactNode; +} + +export function MobileScreenHeader({ title, rightActions }: MobileScreenHeaderProps) { + const popMobileScreen = useUIStore((s) => s.popMobileScreen); + + return ( +
+ +

{title}

+ {rightActions} +
+ ); +}