mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 02:44:34 -05:00
add page title
This commit is contained in:
13
webUI/react/src/context/NavbarTitle.tsx
Normal file
13
webUI/react/src/context/NavbarTitle.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
|
||||
type ContextType = {
|
||||
title: string
|
||||
setTitle: React.Dispatch<React.SetStateAction<string>>
|
||||
};
|
||||
|
||||
const NavBarTitle = React.createContext<ContextType>({
|
||||
title: 'Tachidesk',
|
||||
setTitle: ():void => {},
|
||||
});
|
||||
|
||||
export default NavBarTitle;
|
||||
Reference in New Issue
Block a user