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) 771 B
/** * @file index.tsx * * @fileoverview Shows a text next to an image. */ import React from 'react'; export declare const StyledSideImage: import("styled-components").StyledComponent<"img", any, any, never>; export declare const StyledSideText: import("styled-components").StyledComponent<"div", any, {}, never>; export interface SideTextProps { /** * 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 a Image with text o side and an overlaying text. */ export declare const SideText: ({ image, children, ...props }: SideTextProps) => JSX.Element; export default SideText;