Files
sweet/www/components/gallery/Background.tsx
T
2022-11-07 22:24:32 +09:00

12 lines
295 B
TypeScript

import { JSX } from "preact";
export default function Background(props: JSX.HTMLAttributes<HTMLDivElement>) {
return (
<div
{...props}
class="bg-gray-200 py-16 px-8 flex items-center justify-center rounded"
style="background-image: url(/gallery/grid.svg)"
/>
);
}