add Fresh Components (#872)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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)"
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user