mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-03-13 20:15:35 +01:00
18 lines
373 B
TypeScript
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
|