From 53edc443726cee856ace0684a97c573a9ac1cd99 Mon Sep 17 00:00:00 2001 From: Evgeny Alaev Date: Fri, 15 Nov 2024 13:48:07 +0300 Subject: [PATCH] refactor: set explicit values for show props --- .../controls/PasswordInput/PasswordInput.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/controls/PasswordInput/PasswordInput.tsx b/src/components/controls/PasswordInput/PasswordInput.tsx index 15b9d2eba4..d0354a6f56 100644 --- a/src/components/controls/PasswordInput/PasswordInput.tsx +++ b/src/components/controls/PasswordInput/PasswordInput.tsx @@ -38,14 +38,14 @@ export type PasswordInputProps = Omit & { export const PasswordInput = (props: PasswordInputProps) => { const { autoComplete, - showCopyButton, - rightContent, + controlProps, endContent, - showRevealButton, + rightContent, + showCopyButton = false, + showCopyTooltip = false, + showRevealButton = false, + showRevealTooltip = false, size = 'm', - showCopyTooltip, - showRevealTooltip, - controlProps, } = props; const [inputValue, setInputValue] = useControlledState(