mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-06 20:28:48 +00:00
14 lines
448 B
JavaScript
14 lines
448 B
JavaScript
import { getAllClasses, getBottomBlock, getInnerBlock } from "./container";
|
|
|
|
export default function ContainerButton({ children = [], options, additionalClassNames = "", callback }) {
|
|
return (
|
|
<button
|
|
type="button"
|
|
onClick={callback}
|
|
className={`${getAllClasses(options, additionalClassNames)} information-widget-container-button`}
|
|
>
|
|
{getInnerBlock(children)}
|
|
{getBottomBlock(children)}
|
|
</button>
|
|
);
|
|
}
|