@transferwise/components 45.1.1 → 45.2.0

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.
@@ -86,6 +86,7 @@ export { default as Upload } from './upload';
86
86
  export { default as UploadInput } from './uploadInput';
87
87
  export { SnackbarConsumer, SnackbarContext } from './snackbar/SnackbarContext';
88
88
  export { default as CriticalCommsBanner } from './criticalBanner';
89
+ export { default as ListItem } from './listItem';
89
90
  /**
90
91
  * Hooks
91
92
  */
@@ -0,0 +1,12 @@
1
+ import { ElementType, FC, ReactNode } from 'react';
2
+ type ListItemProps = {
3
+ title: ReactNode;
4
+ value: string;
5
+ media?: ReactNode;
6
+ action?: ReactNode;
7
+ className?: string;
8
+ isContainerAligned?: boolean;
9
+ as?: ElementType;
10
+ };
11
+ declare const ListItem: FC<ListItemProps>;
12
+ export default ListItem;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ component: import("react").FC<{
4
+ title: import("react").ReactNode;
5
+ value: string;
6
+ media?: import("react").ReactNode;
7
+ action?: import("react").ReactNode;
8
+ className?: string | undefined;
9
+ isContainerAligned?: boolean | undefined;
10
+ as?: import("react").ElementType<any> | undefined;
11
+ }>;
12
+ title: string;
13
+ tags: string[];
14
+ };
15
+ export default _default;
16
+ export declare const Basic: () => JSX.Element;
17
+ export declare const Variants: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export { default } from "./ListItem";