mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 22:28:48 +00:00
15 lines
550 B
JavaScript
15 lines
550 B
JavaScript
import ContainerLink from "./container_link";
|
|
import Resource from "./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 === Resource) }
|
|
</div>
|
|
{ children.filter(child => child && child.type === WidgetLabel) }
|
|
</Raw>
|
|
</ContainerLink>;
|
|
}
|