mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
16 lines
565 B
React
16 lines
565 B
React
![]() |
import ContainerLink from "./container_link";
|
||
|
import SingleResource from "./single_resource";
|
||
|
import Raw from "./raw";
|
||
|
import WidgetLabel from "./widget_label";
|
||
|
|
||
|
export default function Resources({ options, children, target }) {
|
||
|
return <ContainerLink options={options} target={target}>
|
||
|
<Raw>
|
||
|
<div className="flex flex-row self-center flex-wrap justify-between">
|
||
|
{children.filter(child => child && child.type === SingleResource)}
|
||
|
</div>
|
||
|
{children.filter(child => child && child.type === WidgetLabel)}
|
||
|
</Raw>
|
||
|
</ContainerLink>;
|
||
|
}
|