feat: typed database with kysely, updated config

This commit is contained in:
Samuel 2024-12-11 16:41:37 +01:00
parent 28ec24b2c2
commit 67da0a72db
24 changed files with 1656 additions and 434 deletions

View file

@ -0,0 +1,19 @@
import type { Component, ComponentProps } from "solid-js";
import { splitProps } from "solid-js";
import { cn } from "~/lib/utils";
const Label: Component<ComponentProps<"label">> = (props) => {
const [local, others] = splitProps(props, ["class"]);
return (
<label
class={cn(
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
local.class,
)}
{...others}
/>
);
};
export { Label };