accessibility

This commit is contained in:
Jade (Rose) Rowland 2025-02-21 20:03:17 -05:00
parent dfb7d7bb7f
commit bbb88a2302
6 changed files with 18 additions and 26 deletions

View file

@ -1,9 +1,9 @@
import { cn } from 'tailwind_utils.mjs';
import cx from '@src/cx.mjs';
export function Textbox({ onChange, className, ...inputProps }) {
return (
<input
className={cn('p-1 bg-background rounded-md my-2 border-foreground', className)}
className={cx('p-1 bg-background rounded-md my-2 border-foreground', className)}
onChange={(e) => onChange(e.target.value)}
{...inputProps}
/>