INIT
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
import { type DOMContext, type ReadableBox, type WritableBox } from "svelte-toolbelt";
|
||||
import type { PinInputRootPropsWithoutHTML } from "./types.js";
|
||||
type UsePasswordManagerBadgeProps = {
|
||||
containerRef: WritableBox<HTMLElement | null>;
|
||||
inputRef: WritableBox<HTMLInputElement | null>;
|
||||
pushPasswordManagerStrategy: ReadableBox<PinInputRootPropsWithoutHTML["pushPasswordManagerStrategy"]>;
|
||||
isFocused: ReadableBox<boolean>;
|
||||
domContext: DOMContext;
|
||||
};
|
||||
export declare function usePasswordManagerBadge({ containerRef, inputRef, pushPasswordManagerStrategy, isFocused, domContext, }: UsePasswordManagerBadgeProps): {
|
||||
readonly hasPwmBadge: boolean;
|
||||
readonly willPushPwmBadge: boolean;
|
||||
PWM_BADGE_SPACE_WIDTH: "40px";
|
||||
};
|
||||
export {};
|
||||
Reference in New Issue
Block a user