@up42/up-components 1.4.1 → 1.4.3

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,5 +1,15 @@
1
1
  /// <reference types="react" />
2
+ export declare type NotFoundProps = {
3
+ /**
4
+ * The label of the CTA button
5
+ */
6
+ ctaLabel?: string;
7
+ /**
8
+ * The path of the CTA button.
9
+ */
10
+ ctaPath?: string;
11
+ };
2
12
  /**
3
13
  * Documentation: https://up-components.up42.com/?path=/docs/patterns-notfound--docs
4
14
  */
5
- export declare const NotFound: () => JSX.Element;
15
+ export declare const NotFound: ({ ctaLabel, ctaPath }: NotFoundProps) => JSX.Element;
@@ -38,7 +38,7 @@ export { CopyButton, type CopyButtonProps } from './components/CopyButton/CopyBu
38
38
  export { Popover, type PopoverProps } from './components/Popover/Popover';
39
39
  export { InfoPopover, type InfoPopoverProps } from './components/InfoPopover/InfoPopover';
40
40
  export { PageHeader, type PageHeaderProps } from './components/PageHeader/PageHeader';
41
- export { NotFound } from './components/NotFound/NotFound';
41
+ export { NotFound, type NotFoundProps } from './components/NotFound/NotFound';
42
42
  export { Loading, type LoadingProps } from './components/Loading/Loading';
43
43
  export { Icon, type IconProps } from './components/Icon/Icon';
44
44
  export { Badge, type BadgeProps } from './components/Badge/Badge';