@up42/up-components 0.12.9 → 0.12.11

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.
@@ -3,7 +3,14 @@ export declare type PageHeaderProps = {
3
3
  title: string;
4
4
  divider?: boolean;
5
5
  description?: React.ReactNode;
6
+ /**
7
+ * Action button right side of header (default action)
8
+ */
6
9
  action?: React.ReactNode;
10
+ /**
11
+ * Action button left side of header
12
+ */
13
+ secondaryAction?: React.ReactNode;
7
14
  /**
8
15
  * Pass SetStateAction from child component to update header title
9
16
  */
@@ -12,4 +19,4 @@ export declare type PageHeaderProps = {
12
19
  /**
13
20
  * Documentation: https://up-components.up42.dev/?path=/story/patterns-pageheader
14
21
  */
15
- export declare const PageHeader: ({ title, description, divider, action, onSubmitTitle }: PageHeaderProps) => JSX.Element;
22
+ export declare const PageHeader: ({ title, description, divider, action, secondaryAction, onSubmitTitle, }: PageHeaderProps) => JSX.Element;