MCPcopy Create free account

hub / github.com/Shopify/hydrogen-demo-store / functions

Functions245 in github.com/Shopify/hydrogen-demo-store

FunctionDrawer
({ heading, open, onClose, openFrom = 'right', children, }: { heading?: string; open: boolean;
app/components/Drawer.tsx:15
FunctionEditAddress
()
app/routes/($locale).account.address.$id.tsx:168
FunctionEmptyOrders
()
app/routes/($locale).account.tsx:159
FunctionErrorBoundary
({error}: {error: Error})
app/root.tsx:189
FunctionErrorBoundary
()
app/routes/($locale).$shopid.orders.$token.authenticate.tsx:32
FunctionFeatureProductsContent
* Render the FeaturedProducts content based on the fetcher's state. "loading", "empty" or "products"
app/components/FeaturedProducts.tsx:84
FunctionFeaturedCollections
({ collections, title = 'Collections', ...props }: FeaturedCollectionsProps)
app/components/FeaturedCollections.tsx:13
FunctionFeaturedProducts
({ count = 4, heading = 'Shop Best Sellers', layout = 'drawer', onClose, query, reverse, sortKey
app/components/FeaturedProducts.tsx:34
FunctionFeaturedSection
()
app/components/FeaturedSection.tsx:10
FunctionFiltersDrawer
({ filters = [], appliedFilters = [], }: Omit<Props, 'children'>)
app/components/SortFilter.tsx:76
FunctionFooter
({menu}: {menu?: EnhancedMenu})
app/components/PageLayout.tsx:410
FunctionFooterLink
({item}: {item: ChildEnhancedMenuItem})
app/components/PageLayout.tsx:438
FunctionFooterMenu
({menu}: {menu?: EnhancedMenu})
app/components/PageLayout.tsx:454
FunctionGenericError
({ error, }: { error?: {message: string; stack?: string}; })
app/components/GenericError.tsx:5
FunctionGrid
({ as: Component = 'div', className, flow = 'row', gap = 'default', items = 4, layout = 'default',
app/components/Grid.tsx:3
FunctionHeader
({title, menu}: {title: string; menu?: EnhancedMenu})
app/components/PageLayout.tsx:62
FunctionHeading
({ as: Component = 'h2', children, className = '', format, size = 'heading', width = 'default',
app/components/Text.tsx:59
FunctionHero
({ byline, cta, handle, heading, height, loading, spread, spreadSecondary, top, }: HeroProps
app/components/Hero.tsx:22
FunctionHomepage
()
app/routes/($locale)._index.tsx:144
FunctionIcon
({ children, className, fill = 'currentColor', stroke, ...props }: IconProps)
app/components/Icon.tsx:7
FunctionIconAccount
(props: IconProps)
app/components/Icon.tsx:167
FunctionIconArrow
({direction = 'right'}: IconProps)
app/components/Icon.tsx:61
FunctionIconBag
(props: IconProps)
app/components/Icon.tsx:136
FunctionIconCaret
({ direction = 'down', stroke = 'currentColor', ...props }: IconProps)
app/components/Icon.tsx:89
FunctionIconCheck
({ stroke = 'currentColor', ...props }: React.ComponentProps<typeof Icon>)
app/components/Icon.tsx:200
FunctionIconClose
(props: IconProps)
app/components/Icon.tsx:39
FunctionIconFilters
(props: IconProps)
app/components/Icon.tsx:260
FunctionIconHelp
(props: IconProps)
app/components/Icon.tsx:179
FunctionIconLogin
(props: IconProps)
app/components/Icon.tsx:148
FunctionIconMenu
(props: IconProps)
app/components/Icon.tsx:28
FunctionIconRemove
(props: IconProps)
app/components/Icon.tsx:234
FunctionIconSearch
(props: IconProps)
app/components/Icon.tsx:188
FunctionIconSelect
(props: IconProps)
app/components/Icon.tsx:126
FunctionIconXMark
({ stroke = 'currentColor', ...props }: React.ComponentProps<typeof Icon>)
app/components/Icon.tsx:218
FunctionInput
({ className = '', type, variant, ...props }: { className?: string; type?: string; variant: 'sea
app/components/Input.tsx:3
FunctionItemRemoveButton
({lineId}: {lineId: CartLine['id']})
app/components/Cart.tsx:308
FunctionJournals
()
app/routes/($locale).journal._index.tsx:59
FunctionLayout
({children}: {children?: React.ReactNode})
app/root.tsx:142
FunctionLink
(props: LinkProps)
app/components/Link.tsx:30
FunctionMenuDrawer
({ isOpen, onClose, menu, }: { isOpen: boolean; onClose: () => void; menu: EnhancedMenu; })
app/components/PageLayout.tsx:124
FunctionMenuMobileNav
({ menu, onClose, }: { menu: EnhancedMenu; onClose: () => void; })
app/components/PageLayout.tsx:142
FunctionMobileHeader
({ title, isHome, openCart, openMenu, }: { title: string; isHome: boolean; openCart: () => void;
app/components/PageLayout.tsx:172
FunctionModal
({ children, cancelLink, }: { children: React.ReactNode; cancelLink: string; })
app/components/Modal.tsx:4
FunctionNoResults
({ noResults, recommendations, }: { noResults: boolean; recommendations: Promise<null | FeaturedData>;
app/routes/($locale).search.tsx:146
FunctionNotFound
({type = 'page'}: {type?: string})
app/components/NotFound.tsx:5
FunctionOrderCard
({order}: {order: OrderCardFragment})
app/components/OrderCard.tsx:8
FunctionOrderRoute
()
app/routes/($locale).account.orders.$id.tsx:75
FunctionOrders
({orders}: OrderCardsProps)
app/routes/($locale).account.tsx:178
FunctionPage
()
app/routes/($locale).pages.$pageHandle.tsx:39
FunctionPageHeader
({ children, className, heading, variant = 'default', ...props }: { children?: React.ReactNode;
app/components/Text.tsx:159
FunctionPageLayout
({children, layout}: LayoutProps)
app/components/PageLayout.tsx:40
FunctionPolicies
()
app/routes/($locale).policies.$policyHandle.tsx:52
FunctionPolicies
()
app/routes/($locale).policies._index.tsx:45
FunctionPriceRangeFilter
({max, min}: {max?: number; min?: number})
app/components/SortFilter.tsx:219
FunctionProduct
()
app/routes/($locale).products.$productHandle.tsx:124
FunctionProductCard
({ product, label, className, loading, onClick, quickAdd, }: { product: ProductCardFragment; l
app/components/ProductCard.tsx:13
FunctionProductDetail
({ title, content, learnMore, }: { title: string; content: string; learnMore?: string; })
app/routes/($locale).products.$productHandle.tsx:436
FunctionProductForm
({ productOptions, selectedVariant, storeDomain, }: { productOptions: MappedProductOptions[]; select
app/routes/($locale).products.$productHandle.tsx:224
FunctionProductGallery
({ media, className, }: { media: MediaFragment[]; className?: string; })
app/components/ProductGallery.tsx:8
FunctionProductOptionSwatch
({ swatch, name, }: { swatch?: Maybe<ProductOptionValueSwatch> | undefined; name: string; })
app/routes/($locale).products.$productHandle.tsx:411
FunctionProductSwimlane
({ title = 'Featured Products', products = mockProducts, count = 12, ...props }: ProductSwimlaneProps)
app/components/ProductSwimlane.tsx:14
FunctionProductsApiRoute
()
app/routes/($locale).api.products.tsx:86
FunctionProductsLoadedOnScroll
({ nodes, inView, nextPageUrl, hasNextPage, state, }: { nodes: any; inView: boolean; nextPageU
app/routes/($locale).collections.$collectionHandle.tsx:219
FunctionSearch
()
app/routes/($locale).search.tsx:81
FunctionSection
({ as: Component = 'section', children, className, divider = 'none', display = 'grid', heading,
app/components/Text.tsx:101
FunctionSkeleton
({ as: Component = 'div', width, height, className, ...props }: { as?: React.ElementType; width?
app/components/Skeleton.tsx:6
FunctionSortFilter
({ filters, appliedFilters = [], children, collections = [], }: Props)
app/components/SortFilter.tsx:40
FunctionSortMenu
()
app/components/SortFilter.tsx:317
FunctionSpreadMedia
({data, loading, sizes}: SpreadMediaProps)
app/components/Hero.tsx:92
FunctionText
({ as: Component = 'span', className, color = 'default', format, size = 'copy', width = 'default',
app/components/Text.tsx:5
FunctionUpdateCartButton
({ children, lines, }: { children: React.ReactNode; lines: CartLineUpdateInput[]; })
app/components/Cart.tsx:386
FunctionUpdateDiscountForm
({ discountCodes, children, }: { discountCodes?: string[]; children: React.ReactNode; })
app/components/Cart.tsx:133
Functionaction
({request, context, params})
app/routes/($locale).account.address.$id.tsx:38
Functionaction
({context}: ActionFunctionArgs)
app/routes/($locale).account_.logout.ts:18
Functionaction
({request, context}: ActionFunctionArgs)
app/routes/($locale).cart.tsx:13
Functionaction
({request, context, params})
app/routes/($locale).account.edit.tsx:50
Functionarticle
({ article, url, }: { article: Pick< Article, 'title' | 'contentHtml' | 'seo' | 'publishedAt' |
app/lib/seo.server.ts:324
Functionblog
({ blog, url, }: { blog: Pick<Blog, 'seo' | 'title'>; url: Request['url']; })
app/lib/seo.server.ts:367
FunctioncloseDrawer
()
app/components/Drawer.tsx:107
Functioncollection
({ collection, url, }: { collection: CollectionRequiredFields; url: Request['url']; })
app/lib/seo.server.ts:249
Methodconstructor
(sessionStorage: SessionStorage, session: Session)
app/lib/session.server.ts:18
Methoddestroy
()
app/lib/session.server.ts:63
Functionfetch
( request: Request, env: Env, executionContext: ExecutionContext, )
server.ts:24
Methodflash
()
app/lib/session.server.ts:49
FunctiongetProductInfoPlaceholder
()
app/lib/placeholders.ts:235
Functionhome
({url}: {url: Request['url']})
app/lib/seo.server.ts:64
Functionlinks
()
app/root.tsx:67
Functionlinks
()
app/routes/($locale).journal.$journalHandle.tsx:21
FunctionlistCollections
({ collections, url, }: { collections: CollectionListRequiredFields; url: Request['url']; })
app/lib/seo.server.ts:308
Functionloader
(args: LoaderFunctionArgs)
app/root.tsx:81
Functionloader
({request, params, context}: LoaderFunctionArgs)
app/routes/($locale).pages.$pageHandle.tsx:16
Functionloader
({request, params, context}: LoaderFunctionArgs)
app/routes/($locale).policies.$policyHandle.tsx:17
Functionloader
({ request, context: {storefront}, }: LoaderFunctionArgs)
app/routes/($locale).collections._index.tsx:27
Functionloader
({ request, params, context: {storefront}, }: LoaderFunctionArgs)
app/routes/sitemap.$type.$page[.xml].tsx:9
Functionloader
({ request, context: {storefront}, }: LoaderFunctionArgs)
app/routes/($locale).journal._index.tsx:21
Functionloader
({ request, context: {storefront}, }: LoaderFunctionArgs)
app/routes/($locale).products._index.tsx:26
Functionloader
(args: LoaderFunctionArgs)
app/routes/($locale).products.$productHandle.tsx:45
Functionloader
()
app/routes/$.tsx:1
Functionloader
({ request, context: {storefront}, }: LoaderFunctionArgs)
app/routes/[sitemap.xml].tsx:5
Functionloader
()
app/routes/($locale).api.countries.tsx:6
← previousnext →101–200 of 245, ranked by callers