accessibility
This commit is contained in:
parent
dfb7d7bb7f
commit
bbb88a2302
6 changed files with 18 additions and 26 deletions
|
|
@ -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}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue