profinansy-ui-lib 3.6.59 → 3.6.61

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.
@@ -0,0 +1,3 @@
1
+ import { IFavouriteProps } from './Favourite.typed';
2
+ declare const FavouriteButton: ({ className, isActive, handleFav, type }: IFavouriteProps) => JSX.Element;
3
+ export { FavouriteButton };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: ({ className, isActive, handleFav, type }: import("./Favourite.typed").IFavouriteProps) => JSX.Element;
4
+ tags: string[];
5
+ };
6
+ export default _default;
7
+ export declare const FavouriteButton: () => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { TTypeFavourite } from './Favourite.typed';
2
+ export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
3
+ $isActive: boolean;
4
+ $type: TTypeFavourite;
5
+ }, never>;
@@ -0,0 +1,7 @@
1
+ export type TTypeFavourite = 'primary' | 'content';
2
+ export interface IFavouriteProps {
3
+ type?: TTypeFavourite;
4
+ className?: string;
5
+ isActive: boolean;
6
+ handleFav: (val: boolean) => void;
7
+ }
@@ -0,0 +1 @@
1
+ export { FavouriteButton } from './Favourite';
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export { Notification } from './components/blocks/Notification';
12
12
  export { NotificationShort } from './components/blocks/Notification';
13
13
  export { SearchSideMenu } from './components/blocks/SearchSideMenu';
14
14
  export { SearchCategories } from './components/blocks/search/Search.const';
15
+ export { FavouriteButton } from './components/blocks/Favourite';
15
16
  export { LayoutSideMenu } from './components/layouts/LayoutSideMenu';
16
17
  export { useHidingFromApp } from './hooks/useHiddingFromApp';
17
18
  export { useHidingChat } from './hooks/useHidingChat';