mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-02 21:22:11 +08:00
11 lines
385 B
JavaScript
11 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>
|
|
);
|
|
}
|