fixed offset / added tooltipOffsetTop prop
This commit is contained in:
parent
93d6874919
commit
fb8ca44bfa
@ -525,6 +525,8 @@ PasswordInput.propTypes = {
|
||||
onCopyToClipboard: PropTypes.func,
|
||||
/** Sets the tooltip offset to the left */
|
||||
tooltipOffsetLeft: PropTypes.number,
|
||||
/** Sets the tooltip offset to the top */
|
||||
tooltipOffsetTop: PropTypes.number,
|
||||
/** Sets the password input view to simple (without tooltips, password progress bar and several additional buttons (copy and generate password) */
|
||||
simpleView: PropTypes.bool,
|
||||
/** Sets a title of the password generation button */
|
||||
@ -550,8 +552,8 @@ PasswordInput.defaultProps = {
|
||||
|
||||
generatorSpecial: "!@#$%^&*",
|
||||
className: "",
|
||||
tooltipOffsetLeft: 0,
|
||||
tooltipOffsetTop: -5,
|
||||
tooltipOffsetLeft: 175,
|
||||
tooltipOffsetTop: 50,
|
||||
simpleView: false,
|
||||
passwordSettings: {
|
||||
minLength: 8,
|
||||
|
@ -84,7 +84,6 @@ const Template = ({
|
||||
tooltipPasswordLength={`${tooltipPasswordLength} ${settingMinLength}`}
|
||||
passwordSettings={fakeSettings}
|
||||
onValidateInput={onValidateInputHandler}
|
||||
tooltipOffsetLeft={150}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user