mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
more styling
This commit is contained in:
@@ -15,14 +15,14 @@ export default function Input({
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<label htmlFor={name} className="block text-sm font-medium text-gray-700">
|
||||
<label htmlFor={name} className="pb-label">
|
||||
{text}
|
||||
</label>
|
||||
<div className="mt-1 flex rounded-md shadow-sm">
|
||||
<div className="pb-input_wrapper">
|
||||
<input
|
||||
type="text"
|
||||
name={name}
|
||||
className="focus:ring-indigo-500 focus:border-indigo-500 flex-1 block w-full rounded-none rounded-r-md sm:text-sm border-gray-300"
|
||||
className="pb-input"
|
||||
placeholder={placeholder}
|
||||
value={value}
|
||||
onChange={onchange.bind(null, name)}
|
||||
|
||||
Reference in New Issue
Block a user