Files
Rahoot/packages/web/src/components/Input.tsx
2025-12-09 08:55:01 +01:00

18 lines
373 B
TypeScript

import clsx from "clsx"
import React from "react"
type Props = React.InputHTMLAttributes<HTMLInputElement>
const Input = ({ className, type = "text", ...otherProps }: Props) => (
<input
type={type}
className={clsx(
"rounded-sm p-2 text-lg font-semibold outline-2 outline-gray-300",
className,
)}
{...otherProps}
/>
)
export default Input