Skip to content

Commit

Permalink
feat(Input): default input size
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinsawicki committed Nov 28, 2024
1 parent d1114c6 commit e26dcd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-components/src/components/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const InputComponent = React.forwardRef<
);

export const Input = React.forwardRef<HTMLInputElement, IInputProps>(
({ inputSize, ...props }, ref) => {
({ inputSize = 'medium', ...props }, ref) => {
const mainClassName = cx(
styles[baseClass],
styles[`${baseClass}--${inputSize}`]
Expand Down

0 comments on commit e26dcd5

Please sign in to comment.