mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 14:38:47 +00:00
14 lines
424 B
JavaScript
14 lines
424 B
JavaScript
import { getAllClasses, getInnerBlock, getBottomBlock } from "./container";
|
|
|
|
export default function ContainerLink({ children = [], options, additionalClassNames = "", target }) {
|
|
return (
|
|
<a
|
|
href={options.url}
|
|
target={target}
|
|
className={`${getAllClasses(options, additionalClassNames)} information-widget-link`}
|
|
>
|
|
{getInnerBlock(children)}
|
|
{getBottomBlock(children)}
|
|
</a>
|
|
);
|
|
}
|