<!-- .github/pull_request_template.md --> ## Description <!-- Provide a clear description of the changes in this PR --> ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin. --------- Co-authored-by: Daulet Amirkhanov <damirkhanov01@gmail.com>
8 lines
460 B
TypeScript
8 lines
460 B
TypeScript
import classNames from "classnames"
|
|
import { InputHTMLAttributes } from "react"
|
|
|
|
export default function Input({ className, ...props }: InputHTMLAttributes<HTMLInputElement>) {
|
|
return (
|
|
<input className={classNames("block w-full rounded-3xl bg-white px-4 h-10 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600", className)} {...props} />
|
|
)
|
|
}
|