grain.social is a photo sharing platform built on atproto.
at main 13 lines 368 B view raw
1import { cn } from "@bigmoves/bff/components"; 2import type { JSX } from "preact"; 3 4export type LabelProps = JSX.LabelHTMLAttributes<HTMLLabelElement>; 5 6export function Label(props: LabelProps): JSX.Element { 7 const { class: classProp, ...rest } = props; 8 const className = cn( 9 "grain-label", 10 classProp, 11 ); 12 return <label class={className} {...rest} />; 13}