添加背单词功能
This commit is contained in:
18
src/components/NavbarCenterWrapper.tsx
Normal file
18
src/components/NavbarCenterWrapper.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import NavbarWrapper from "./NavbarWrapper";
|
||||
|
||||
interface Props {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export default function NavbarCenterWrapper({ children, className }: Props) {
|
||||
return (
|
||||
<NavbarWrapper>
|
||||
<div
|
||||
className={`flex-1 flex justify-center items-center ${className}`}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
</NavbarWrapper>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user