import * as React from 'react' ; import * as storage from 'YesterTech/localStorage' ; export const FavoriteProductProvider = ( { children } ) => { return ( < React . Fragment > { children } < /React.Fragment>); } ; export function useFavoriteProduct ( ) { } interface FavoriteProductContextValue { isFavorite ( productId ) : boolean ; addFavorite ( productId ) : void ; removeFavorite ( productId ) : void ; }