@xo-union/tk-component-header-nav
Version:
11 lines (10 loc) • 374 B
TypeScript
export interface DefaultFavoritesConfigProps {
activeProduct: string | null;
links: Record<string, string>;
explicitlyOptedIn: boolean;
location: Partial<Location>;
}
export declare const getDefaultFavoritesConfig: ({ activeProduct, links, explicitlyOptedIn, location, }: DefaultFavoritesConfigProps) => false | {
isFilled: boolean;
href: string;
};