jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
28 lines (27 loc) • 749 B
TypeScript
/**
* @file index.tsx
*
* @fileoverview Shows a text next to an image.
*/
import React from 'react';
export declare const StyledImage: import("styled-components").StyledComponent<"img", any, any, never>;
export declare const StyledText: import("styled-components").StyledComponent<"p", any, {}, never>;
export interface ImageTextProps {
/**
* The image to show next to the text.
*/
image: {
url: string;
alt: string;
title: string;
};
/**
* The text to show.
*/
children: React.ReactNode;
}
/**
* This component provides an image with a text underneath.
*/
export declare const ImageText: ({ image, children, ...props }: ImageTextProps) => JSX.Element;
export default ImageText;