@ukpc-lib/react 0.3.10 → 0.3.12

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.
@@ -1,4 +1,3 @@
1
- declare function MessageIcon({ primaryColor }: {
2
- primaryColor?: string;
3
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { SVGProps } from "react";
2
+ declare function MessageIcon(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
4
3
  export default MessageIcon;
@@ -1,5 +1,5 @@
1
- export default function NotificationIcon({ primaryColor, baseUrl, notiPath, }: {
2
- primaryColor?: string;
1
+ export default function NotificationIcon({ iconColor, baseUrl, notiPath, }: {
2
+ iconColor?: string;
3
3
  baseUrl: string;
4
4
  notiPath?: string;
5
5
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,12 +1,6 @@
1
1
  import { CSSProperties } from 'react';
2
2
  import { firebaseProps } from '..';
3
- import { User } from '../../share';
4
- type CustomColors = {
5
- primaryColor?: string;
6
- bgColor?: string;
7
- color?: string;
8
- headerTextColor?: string;
9
- };
3
+ import { ColorsType, User } from '../../share';
10
4
  export declare function TopBar({ logo, user, baseUrl, notiPath, style, classNames, customColors, notiprops, }: {
11
5
  logo: string;
12
6
  user: User;
@@ -14,7 +8,6 @@ export declare function TopBar({ logo, user, baseUrl, notiPath, style, className
14
8
  notiPath?: string;
15
9
  style?: CSSProperties;
16
10
  classNames?: string;
17
- customColors?: CustomColors;
11
+ customColors?: ColorsType;
18
12
  notiprops: firebaseProps;
19
13
  }): import("react/jsx-runtime").JSX.Element;
20
- export {};