grain.social is a photo sharing platform built on atproto.
1import { cn } from "@bigmoves/bff/components";
2import type { JSX } from "preact";
3
4export type InputProps = JSX.InputHTMLAttributes<HTMLInputElement>;
5
6export function Input(props: InputProps): JSX.Element {
7 const { class: classProp, ...rest } = props;
8 const className = cn(
9 "grain-input",
10 classProp,
11 );
12 return <input class={className} {...rest} />;
13}