mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
19 lines
380 B
TypeScript
19 lines
380 B
TypeScript
import React, { PropsWithChildren } from "react"
|
|
import * as SC from "./styles"
|
|
|
|
export interface IResourcesSidebarSectionProps {
|
|
readonly title: string
|
|
}
|
|
|
|
export function ResourcesSidebarSection({
|
|
title,
|
|
children,
|
|
}: PropsWithChildren<IResourcesSidebarSectionProps>) {
|
|
return (
|
|
<div>
|
|
<SC.SidebarTitle>{title}</SC.SidebarTitle>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|