This commit is contained in:
Jade (Rose) Rowland
2025-04-19 16:21:11 -04:00
parent bd08b74ebc
commit c852b5fab0
9 changed files with 8 additions and 140 deletions
@@ -3,7 +3,10 @@ import cx from '@src/cx.mjs';
export function Textbox({ onChange, className, ...inputProps }) {
return (
<input
className={cx('p-2 bg-background rounded-md border-foreground text-foreground placeholder-foreground', className)}
className={cx(
'p-2 bg-background rounded-md border-foreground text-foreground placeholder-foreground',
className,
)}
onChange={(e) => onChange(e.target.value)}
{...inputProps}
/>