diff --git a/src/Input/Input.tsx b/src/Input/Input.tsx index 84194e3d..a81a379a 100644 --- a/src/Input/Input.tsx +++ b/src/Input/Input.tsx @@ -34,9 +34,9 @@ const Input = React.forwardRef((props, ref) => { id, leadingIcon, name, - placeholder, + placeholder = '', trailingIcon, - trailingIconLabel, + trailingIconLabel = '', trailingIconOnClick, trailingIconOnClickSubmit, trailingText, diff --git a/src/LoadingOverlay/LoadingOverlay.tsx b/src/LoadingOverlay/LoadingOverlay.tsx index 6c565a95..f92f3736 100644 --- a/src/LoadingOverlay/LoadingOverlay.tsx +++ b/src/LoadingOverlay/LoadingOverlay.tsx @@ -17,8 +17,8 @@ type LoadingOverlayProps = { }; const LoadingOverlay = ({ - contentCenterOverflow, - contentTop, + contentCenterOverflow = false, + contentTop = false, dataTestid = 'LoadingOverlay', header, text, diff --git a/src/RadioButton/RadioButton.tsx b/src/RadioButton/RadioButton.tsx index be2e0b38..83c7f211 100644 --- a/src/RadioButton/RadioButton.tsx +++ b/src/RadioButton/RadioButton.tsx @@ -17,7 +17,7 @@ type RadioButtonProps = { const RadioButton = React.forwardRef(({ checked, className, - disabled, + disabled = false, id, name = '', value,