@elcrm/telegram 0.0.74 → 0.0.75

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.
@@ -4,6 +4,7 @@ export type TFooter = {
4
4
  children?: any;
5
5
  className?: string;
6
6
  page?: string;
7
+ toHide?: boolean;
7
8
  direction?: "row" | "column";
8
9
  onPageChange?: (page: string) => void;
9
10
  };
@@ -13,6 +14,6 @@ export type TAction = {
13
14
  page?: string;
14
15
  callback?: () => void;
15
16
  };
16
- declare const Footer: ({ actions, children, className, page, onPageChange, direction, }: TFooter) => import("react/jsx-runtime").JSX.Element;
17
+ declare const Footer: ({ actions, children, className, toHide, page, onPageChange, direction, }: TFooter) => import("react/jsx-runtime").JSX.Element;
17
18
  export default Footer;
18
19
  export { events };
package/dist/index.d.ts CHANGED
@@ -29,8 +29,9 @@ declare namespace Telegram {
29
29
  * @param {string} [page] - Текущая страница для определения активного действия
30
30
  * @param {"row"|"column"} [direction="row"] - Направление расположения элементов футера
31
31
  * @param {(page: string) => void} [onPageChange] - Функция для обработки смены страницы
32
+ * @param {boolean} [toHide=false] - Скрывать при открытой клавиатуре
32
33
  */
33
- const Footer: ({ actions, children, className, page, onPageChange, direction, }: import("./Footer").TFooter) => import("react/jsx-runtime").JSX.Element;
34
+ const Footer: ({ actions, children, className, toHide, page, onPageChange, direction, }: import("./Footer").TFooter) => import("react/jsx-runtime").JSX.Element;
34
35
  /**
35
36
  * @param {object} props - параметры компонента
36
37
  * @param {React.ReactNode} props.children - Контент внутри шита
@@ -65,8 +66,9 @@ declare namespace Telegram {
65
66
  * @param {string} [page] - Текущая страница для определения активного действия
66
67
  * @param {"row"|"column"} [direction="row"] - Направление расположения элементов футера
67
68
  * @param {(page: string) => void} [onPageChange] - Функция для обработки смены страницы
69
+ * @param {boolean} [toHide=false] - Скрывать при открытой клавиатуре
68
70
  */
69
- export declare const Footer: ({ actions, children, className, page, onPageChange, direction, }: import('./Footer').TFooter) => import("react/jsx-runtime").JSX.Element;
71
+ export declare const Footer: ({ actions, children, className, toHide, page, onPageChange, direction, }: import('./Footer').TFooter) => import("react/jsx-runtime").JSX.Element;
70
72
  /**
71
73
  * @param {object} props - параметры компонента
72
74
  * @param {React.ReactNode} props.children - Контент внутри шита