@selfcommunity/react-core 0.7.0-react-17.0.1.7 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ export default function SCLocaleProvider({ children }: {
33
33
  * Export hoc to inject the base theme to components
34
34
  * @param Component
35
35
  */
36
- export declare const withSCLocale: (Component: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
36
+ export declare const withSCLocale: (Component: any) => (props: any) => JSX.Element;
37
37
  /**
38
38
  * Let's only export the `useSCLocale` hook instead of the context.
39
39
  * We only want to use the hook directly and never the context component.
@@ -40,7 +40,7 @@ export default function SCThemeProvider({ children }: {
40
40
  * Export hoc to inject the base theme to components
41
41
  * @param Component
42
42
  */
43
- export declare const withSCTheme: (Component: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
43
+ export declare const withSCTheme: (Component: any) => (props: any) => JSX.Element;
44
44
  /**
45
45
  * Let's only export the `useSCTheme` hook instead of the context.
46
46
  * We only want to use the hook directly and never the context component.
@@ -26,8 +26,8 @@ const scRoutingContext: SCRoutingContextType = useSCRouting();
26
26
 
27
27
  :::
28
28
  */
29
- declare const _default: React.ForwardRefExoticComponent<Omit<{
29
+ declare const _default: React.ForwardRefExoticComponent<Pick<{
30
30
  [x: string]: any;
31
31
  children: any;
32
- }, "ref"> & React.RefAttributes<unknown>>;
32
+ }, string | number> & React.RefAttributes<unknown>>;
33
33
  export default _default;
@@ -33,7 +33,7 @@ export default function SCLocaleProvider({ children }: {
33
33
  * Export hoc to inject the base theme to components
34
34
  * @param Component
35
35
  */
36
- export declare const withSCLocale: (Component: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
36
+ export declare const withSCLocale: (Component: any) => (props: any) => JSX.Element;
37
37
  /**
38
38
  * Let's only export the `useSCLocale` hook instead of the context.
39
39
  * We only want to use the hook directly and never the context component.
@@ -40,7 +40,7 @@ export default function SCThemeProvider({ children }: {
40
40
  * Export hoc to inject the base theme to components
41
41
  * @param Component
42
42
  */
43
- export declare const withSCTheme: (Component: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
43
+ export declare const withSCTheme: (Component: any) => (props: any) => JSX.Element;
44
44
  /**
45
45
  * Let's only export the `useSCTheme` hook instead of the context.
46
46
  * We only want to use the hook directly and never the context component.
@@ -26,8 +26,8 @@ const scRoutingContext: SCRoutingContextType = useSCRouting();
26
26
 
27
27
  :::
28
28
  */
29
- declare const _default: React.ForwardRefExoticComponent<Omit<{
29
+ declare const _default: React.ForwardRefExoticComponent<Pick<{
30
30
  [x: string]: any;
31
31
  children: any;
32
- }, "ref"> & React.RefAttributes<unknown>>;
32
+ }, string | number> & React.RefAttributes<unknown>>;
33
33
  export default _default;