18 lines
357 B
TypeScript
18 lines
357 B
TypeScript
import './Navbar.sass'
|
|
import { Show } from 'solid-js'
|
|
import Row from '../Row/Row'
|
|
|
|
interface Props {
|
|
transparent?: boolean
|
|
children: HTMLElement
|
|
}
|
|
|
|
export default (props: Props) => {
|
|
return (
|
|
<>
|
|
<nav class="nav" role="navigation" aria-label="main navigation">
|
|
<Row content="split">{props.children}</Row>
|
|
</nav>
|
|
</>
|
|
)
|
|
}
|