@apolitical/component-library 2.0.1 → 2.0.2-ac.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.
- package/general/image-container/image-container.d.ts +12 -0
- package/general/image-container/index.d.ts +1 -0
- package/general/index.d.ts +1 -0
- package/index.js +11 -11
- package/index.mjs +278 -269
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ResponsiveImageType } from '../responsive-image';
|
|
3
|
+
interface Props {
|
|
4
|
+
/** The image to display */
|
|
5
|
+
image?: ResponsiveImageType | null;
|
|
6
|
+
/** Additional classes */
|
|
7
|
+
className?: string;
|
|
8
|
+
/** Optional custom testId for unit testing */
|
|
9
|
+
testId?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const ImageContainer: React.FC<Props>;
|
|
12
|
+
export default ImageContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ImageContainer } from './image-container';
|