jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
32 lines (31 loc) • 695 B
TypeScript
/**
* @file index.tsx
*
* @fileoverview Used for responsive images where mobile and desktop
* will have different files
*/
import { FunctionComponent } from 'react';
export interface PictureProps {
/**
* Landscape image source.
*/
landscapeSrc: string;
/**
* Portrait image source.
*/
portraitSrc?: string;
/**
* Alternative text for the image.
*/
alt: string;
/**
* Title for the image.
*/
title: string;
}
/**
* Displays a responsive picture element with responsive images inside
* for landscape and portrait orientations.
*/
export declare const Picture: FunctionComponent<PictureProps>;
export default Picture;