add initial layout of new assessment manual page

This commit is contained in:
WindowsCrashed
2023-08-05 00:43:15 -03:00
parent d596937598
commit 0d0aaf4f7b
2 changed files with 35 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
import React, { FC, PropsWithChildren } from "react";
interface Props extends PropsWithChildren {
bgColor?: string;
border?: 'l' | 'r'
}
export const SideBar: FC<Props> = ({ bgColor, border, children }) => {
return (
<div className={`
${border ? `border-${border}-2 ` : ''}
border-gray-500 ${bgColor ?? ""}
`}>
<div className="mx-2">
{children}
</div>
</div>
)
}