@up42/up-components 0.12.6 → 0.12.7

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,8 +4,12 @@ export declare type PageHeaderProps = {
4
4
  divider?: boolean;
5
5
  description?: React.ReactNode;
6
6
  action?: React.ReactNode;
7
+ /**
8
+ * Use for enabling header title update. Pass SetStateAction from child component
9
+ */
10
+ onSubmitTitle?: (title: string) => void;
7
11
  };
8
12
  /**
9
13
  * Documentation: https://up-components.up42.dev/?path=/story/patterns-pageheader
10
14
  */
11
- export declare const PageHeader: ({ title, description, divider, action }: PageHeaderProps) => JSX.Element;
15
+ export declare const PageHeader: ({ title, description, divider, action, onSubmitTitle }: PageHeaderProps) => JSX.Element;