Skip to content

Commit 71dfc88

Browse files
authored
Merge pull request #10 from aiwatko/fix-input-classname
Fix className not being passed to the input
2 parents 3f26b12 + cdcec79 commit 71dfc88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/input/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const Input: React.FC<InputProps> = ({
5353
'nhsuk-input',
5454
{ [`nhsuk-input--width-${width}`]: width },
5555
{ 'nhsuk-input--error': error },
56-
classNames,
56+
className,
5757
)}
5858
id={id}
5959
ref={ref}

0 commit comments

Comments
 (0)