Miao-Yunzai/component/Nav.tsx

9 lines
203 B
TypeScript
Raw Normal View History

2024-06-17 22:52:15 +08:00
import React from 'react'
2024-06-15 11:18:45 +08:00
export default function Nav({ children }) {
2024-06-17 22:52:15 +08:00
return (
<nav className="py-4 px-6 text-sm font-medium">
<ul className="flex space-x-3">{children}</ul>
</nav>
)
}