mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
updated react example with todo example
This commit is contained in:
10
examples/react/src/components/Center.tsx
Normal file
10
examples/react/src/components/Center.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { ComponentProps } from "react";
|
||||
|
||||
export function Center(props: ComponentProps<"div">) {
|
||||
return (
|
||||
<div
|
||||
{...props}
|
||||
className={"w-full min-h-full flex justify-center items-center " + props.className}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user