UNPKG

react-responsive-picture

Version:

A future-proof responsive image component that supports latest Picture specification

14 lines (13 loc) 424 B
import React from "react"; import { Props as PictureProps } from "./Picture"; declare type Props = { className?: string; wrapperClassName?: string; children?: JSX.Element | JSX.Element[]; } & StyledPictureProps; declare type StyledPictureProps = { center?: boolean; cover?: "width" | "height" | "both"; } & PictureProps; declare const Fullsized: React.FunctionComponent<Props>; export default Fullsized;