@popmenu/ordering-ui
Advanced tools
Comparing version 0.82.0 to 0.83.0
@@ -12,3 +12,3 @@ export * from '@material-ui/core'; | ||
export { default as MenuFilter, MenuFilterProps, MenuFilterOption, MenuFilterChangeHandler } from './MenuFilter'; | ||
export { OrderingAppContext, useOrderingAppContext } from './OrderingAppContext'; | ||
export { OrderingAppContext, useOrderingAppContext, OrderingAppContextProvider } from './OrderingAppContext'; | ||
export { default as ReactionCounter, ReactionCounterProps } from './ReactionCounter'; | ||
@@ -15,0 +15,0 @@ export { default as ReactionCounterGroup } from './ReactionCounterGroup'; |
@@ -1,1 +0,1 @@ | ||
export { OrderingAppContext, useOrderingAppContext } from './OrderingAppContext'; | ||
export { OrderingAppContext, useOrderingAppContext, OrderingAppContextProvider } from './OrderingAppContext'; |
@@ -1,7 +0,13 @@ | ||
/// <reference types="react" /> | ||
interface OrderingAppContextValue { | ||
currencySymbol: string; | ||
} | ||
export declare const OrderingAppContext: import("react").Context<OrderingAppContextValue | null>; | ||
export declare const useOrderingAppContext: () => OrderingAppContextValue; | ||
import React from 'react'; | ||
declare type OrderingAppContextState = { | ||
currencySymbol?: string; | ||
basePath: string; | ||
restaurantId: number; | ||
} | null; | ||
declare type OrderingAppContextType = [OrderingAppContextState, React.Dispatch<React.SetStateAction<OrderingAppContextState>>]; | ||
export declare const OrderingAppContext: React.Context<OrderingAppContextType | null>; | ||
export declare const useOrderingAppContext: () => OrderingAppContextType; | ||
export declare const OrderingAppContextProvider: (props: { | ||
children: React.ReactNode; | ||
}) => JSX.Element; | ||
export {}; |
{ | ||
"name": "@popmenu/ordering-ui", | ||
"version": "0.82.0", | ||
"version": "0.83.0", | ||
"license": "MIT", | ||
@@ -35,3 +35,3 @@ "author": "Popmenu Design System Team", | ||
"sideEffects": false, | ||
"gitHead": "c4b4aaeada80874b15e25e8f3471374ab14af24c" | ||
"gitHead": "648fef30a2b466a41ee70f8b4a6377ee4c81eab3" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
881621
4472