mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 11:17:49 +01:00
14 lines
271 B
TypeScript
14 lines
271 B
TypeScript
import * as React from 'react';
|
|
|
|
interface Props {
|
|
customClass?: string;
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
const Box = ({ customClass, children }: Props) => (
|
|
<div className={`box${customClass ? ' ' + customClass : ''}`}>
|
|
{children}
|
|
</div>
|
|
);
|
|
|
|
export default Box; |