UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

28 lines (27 loc) 749 B
/** * @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;