import { ImageProps } from '../image/Image'; import { MediaQuery } from '../../tokens/media-queries/MediaQueries'; import { HTMLAttributes, SourceHTMLAttributes } from 'react'; export interface PictureSource extends SourceHTMLAttributes { /** If provided, specifies the condition that the user agent will evaluate for each element */ media?: MediaQuery; } export interface PictureProps extends HTMLAttributes { /** Fallback in case none of the offered elements are able to provide a usable image */ feImage: ImageProps; /** Array of multiple image resources. **Notice!** Make sure to specify them in order from larger to smaller */ feSources: PictureSource[]; } /** * The native html `` element contains zero or more `` elements and one `` element to offer alternative versions of an image for different display/device scenarios.
* The `` component makes this easy to set up without having to think about the elements.
* It extends the interface of native html `` element. * * See [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture) for further information about the element and related attributes. */ declare const Picture: import("react").ForwardRefExoticComponent>; export default Picture;