Skip to content

Commit

Permalink
refactor: set explicit values for show props
Browse files Browse the repository at this point in the history
  • Loading branch information
korvin89 committed Nov 15, 2024
1 parent a959902 commit 53edc44
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/controls/PasswordInput/PasswordInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ export type PasswordInputProps = Omit<TextInputProps, 'type'> & {
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(
Expand Down

0 comments on commit 53edc44

Please sign in to comment.