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