chore(popover): drop the unused AnchoredPopover type export (knip)
This commit is contained in:
@@ -93,7 +93,8 @@ export interface AnchoredPopoverOptions {
|
|||||||
selectedIndex?: number | null;
|
selectedIndex?: number | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type AnchoredPopover = ReturnType<typeof useAnchoredPopover>;
|
// Internal: call sites use the inferred hook return, they don't name the type.
|
||||||
|
type AnchoredPopover = ReturnType<typeof useAnchoredPopover>;
|
||||||
|
|
||||||
export function useAnchoredPopover(opts: AnchoredPopoverOptions) {
|
export function useAnchoredPopover(opts: AnchoredPopoverOptions) {
|
||||||
const mode = opts.mode ?? "menu";
|
const mode = opts.mode ?? "menu";
|
||||||
|
|||||||
Reference in New Issue
Block a user