Miao-Yunzai/component/Nav.tsx

9 lines
203 B
TypeScript

import React from 'react'
export default function Nav({ children }) {
return (
<nav className="py-4 px-6 text-sm font-medium">
<ul className="flex space-x-3">{children}</ul>
</nav>
)
}