jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
28 lines (27 loc) • 771 B
TypeScript
/**
* @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;