You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
424 B
15 lines
424 B
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>
|
|
);
|
|
}
|