Created
July 11, 2022 06:06
-
-
Save bouiboui/046bcae5c486f3c7a42d552cddea4575 to your computer and use it in GitHub Desktop.
Google Accelerated Mobile Pages (AMP) Typescript Definitions (not perfect but good-enough for me)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as React from "react"; | |
| declare global { | |
| namespace JSX { | |
| interface IntrinsicElements { | |
| "amp-3d-gltf": React.DetailedHTMLProps< | |
| { | |
| alpha?: "false" | "true"; | |
| antialiasing?: "false" | "true"; | |
| autorotate?: "false" | "true"; | |
| clearcolor?: any; | |
| enablezoom?: "false" | "true"; | |
| maxpixelratio?: any; | |
| src?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-3q-player": React.DetailedHTMLProps< | |
| { | |
| autoplay?: any; | |
| "data-id"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "fill" | "fixed" | "flex-item" | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-accordion": React.DetailedHTMLProps< | |
| { | |
| animate?: any; | |
| "disable-session-states"?: any; | |
| "expand-single-section"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-ad": React.DetailedHTMLProps< | |
| { | |
| alt?: any; | |
| json?: any; | |
| "rtc-config"?: any; | |
| src?: any; | |
| template?: any; | |
| type?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "fluid" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive"; | |
| "data-multi-size"?: any; | |
| "data-enable-refresh"?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-addthis": React.DetailedHTMLProps< | |
| { | |
| "data-pub-id"?: any; | |
| "data-share-media"?: any; | |
| "data-share-url"?: any; | |
| "data-widget-id"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-analytics": React.DetailedHTMLProps< | |
| { | |
| config?: any; | |
| type?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-anim": React.DetailedHTMLProps< | |
| { | |
| alt?: any; | |
| attribution?: any; | |
| media?: any; | |
| noloading?: any; | |
| srcset?: any; | |
| src?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-animation": React.DetailedHTMLProps< | |
| { | |
| trigger?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-apester-media": React.DetailedHTMLProps< | |
| { | |
| "data-apester-channel-token"?: any; | |
| "data-apester-media-id"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-app-banner": React.DetailedHTMLProps< | |
| { | |
| id?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-audio": React.DetailedHTMLProps< | |
| { | |
| autoplay?: any; | |
| preload?: "auto" | "metadata" | "none"; | |
| album?: any; | |
| artist?: any; | |
| artwork?: any; | |
| controls?: any; | |
| controlslist?: any; | |
| loop?: any; | |
| muted?: any; | |
| src?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "fixed" | "fixed-height" | "nodisplay"; | |
| children?: "source" | "track"; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-auto-ads": React.DetailedHTMLProps< | |
| { | |
| type?: any; | |
| media?: any; | |
| noloading?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-beopinion": React.DetailedHTMLProps< | |
| { | |
| "data-account"?: any; | |
| "data-content"?: any; | |
| "data-my-content"?: "0" | "1"; | |
| "data-name"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-bind-macro": React.DetailedHTMLProps< | |
| { | |
| arguments?: any; | |
| expression?: any; | |
| id?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-bodymovin-animation": React.DetailedHTMLProps< | |
| { | |
| loop?: "false" | "number" | "true"; | |
| noautoplay?: any; | |
| src?: any; | |
| renderer?: "svg" | "html"; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-brid-player": React.DetailedHTMLProps< | |
| { | |
| autoplay?: any; | |
| "data-outstream"?: any; | |
| "data-partner"?: any; | |
| "data-player"?: any; | |
| "data-playlist"?: any; | |
| "data-video"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-brightcove": React.DetailedHTMLProps< | |
| { | |
| autoplay?: any; | |
| "data-account"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-byside-content": React.DetailedHTMLProps< | |
| { | |
| "data-label"?: any; | |
| "data-webcare-id"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-call-tracking": React.DetailedHTMLProps< | |
| { | |
| config?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "container" | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-carousel": React.DetailedHTMLProps< | |
| { | |
| arrows?: any; | |
| autoplay?: any; | |
| controls?: any; | |
| delay?: any; | |
| dots?: any; | |
| loop?: any; | |
| type?: "slides" | "carousel"; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive"; | |
| lightbox?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-consent": React.DetailedHTMLProps< | |
| { | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: "script" | "amp-story-consent"; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-dailymotion": React.DetailedHTMLProps< | |
| { | |
| autoplay?: any; | |
| "data-endscreen-enable"?: "false" | "true"; | |
| "data-info"?: "false" | "true"; | |
| "data-mute"?: "false" | "true"; | |
| "data-sharing-enable"?: "false" | "true"; | |
| "data-start"?: any; | |
| "data-ui-highlight"?: any; | |
| "data-ui-logo"?: "false" | "true"; | |
| "data-videoid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-date-countdown": React.DetailedHTMLProps< | |
| { | |
| "biggest-unit"?: "days" | "hours" | "minutes" | "seconds"; | |
| "end-date"?: any; | |
| locale?: | |
| | "de" | |
| | "en" | |
| | "es" | |
| | "fr" | |
| | "id" | |
| | "it" | |
| | "ja" | |
| | "ko" | |
| | "nl" | |
| | "pt" | |
| | "ru" | |
| | "th" | |
| | "tr" | |
| | "vi" | |
| | "zh-cn" | |
| | "zh-tw"; | |
| "offset-seconds"?: any; | |
| template?: any; | |
| "timeleft-ms"?: any; | |
| "timestamp-ms"?: any; | |
| "timestamp-seconds"?: any; | |
| "when-ended"?: "continue" | "stop"; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-date-picker": React.DetailedHTMLProps< | |
| { | |
| mode?: any; | |
| type?: any; | |
| "allow-blocked-ranges"?: any; | |
| blocked?: any; | |
| "day-size"?: any; | |
| "first-day-of-week"?: any; | |
| format?: any; | |
| highlighted?: any; | |
| locale?: any; | |
| max?: any; | |
| min?: any; | |
| "month-format"?: any; | |
| "number-of-months"?: any; | |
| "open-after-clear"?: any; | |
| "open-after-select"?: any; | |
| src?: any; | |
| "week-day-format"?: any; | |
| date?: any; | |
| "input-selector"?: any; | |
| fullscreen?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "container" | "nodisplay"; | |
| "touch-keyboard-editable"?: any; | |
| "end-date"?: any; | |
| "end-input-selector"?: any; | |
| "minimum-nights"?: any; | |
| "start-date"?: any; | |
| "start-input-selector"?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-embed": React.DetailedHTMLProps< | |
| { | |
| alt?: any; | |
| json?: any; | |
| "rtc-config"?: any; | |
| src?: any; | |
| template?: any; | |
| type?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "fluid" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive"; | |
| "data-multi-size"?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-embedly-card": React.DetailedHTMLProps< | |
| { | |
| "data-url"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-embedly-key": React.DetailedHTMLProps< | |
| { | |
| value?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-experiment": React.DetailedHTMLProps< | |
| { | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-facebook": React.DetailedHTMLProps< | |
| { | |
| "data-href"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-facebook-comments": React.DetailedHTMLProps< | |
| { | |
| "data-href"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-facebook-like": React.DetailedHTMLProps< | |
| { | |
| "data-href"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-facebook-page": React.DetailedHTMLProps< | |
| { | |
| "data-href"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-fit-text": React.DetailedHTMLProps< | |
| { | |
| "max-font-size"?: any; | |
| "min-font-size"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-font": React.DetailedHTMLProps< | |
| { | |
| "font-family"?: any; | |
| "font-style"?: any; | |
| "font-variant"?: any; | |
| "font-weight"?: any; | |
| "on-error-add-class"?: any; | |
| "on-error-remove-class"?: any; | |
| "on-load-add-class"?: any; | |
| "on-load-remove-class"?: any; | |
| timeout?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-fx-flying-carpet": React.DetailedHTMLProps< | |
| { | |
| height?: any; | |
| media?: any; | |
| noloading?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-geo": React.DetailedHTMLProps< | |
| { | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-gfycat": React.DetailedHTMLProps< | |
| { | |
| "data-gfyid"?: any; | |
| noautoplay?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-gist": React.DetailedHTMLProps< | |
| { | |
| "data-gistid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-google-document-embed": React.DetailedHTMLProps< | |
| { | |
| src?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-hulu": React.DetailedHTMLProps< | |
| { | |
| "data-eid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-iframe": React.DetailedHTMLProps< | |
| { | |
| allow?: any; | |
| allowfullscreen?: any; | |
| allowpaymentrequest?: any; | |
| allowtransparency?: any; | |
| frameborder?: "0" | "1"; | |
| referrerpolicy?: any; | |
| resizable?: any; | |
| sandbox?: any; | |
| scrolling?: "auto" | "no" | "yes"; | |
| src?: any; | |
| srcdoc?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-ima-video": React.DetailedHTMLProps< | |
| { | |
| autoplay?: any; | |
| "data-src"?: any; | |
| "data-tag"?: any; | |
| "rotate-to-fullscreen"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: "source" | "track" | "script"; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-image-lightbox": React.DetailedHTMLProps< | |
| { | |
| controls?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-image-slider": React.DetailedHTMLProps< | |
| { | |
| "disable-hint-reappear"?: any; | |
| "initial-slider-position"?: any; | |
| "step-size"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "fixed" | "intrinsic" | "nodisplay" | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-img": React.DetailedHTMLProps< | |
| { | |
| alt?: any; | |
| attribution?: any; | |
| placeholder?: any; | |
| media?: any; | |
| noloading?: any; | |
| lightbox?: any; | |
| "lightbox-thumbnail-id"?: any; | |
| srcset?: any; | |
| src?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-imgur": React.DetailedHTMLProps< | |
| { | |
| "data-imgur-id"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-instagram": React.DetailedHTMLProps< | |
| { | |
| alt?: any; | |
| "data-shortcode"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-install-serviceworker": React.DetailedHTMLProps< | |
| { | |
| "data-iframe-src"?: any; | |
| src?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-izlesene": React.DetailedHTMLProps< | |
| { | |
| "data-videoid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-jwplayer": React.DetailedHTMLProps< | |
| { | |
| "data-media-id"?: any; | |
| "data-player-id"?: any; | |
| "data-playlist-id"?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-kaltura-player": React.DetailedHTMLProps< | |
| { | |
| "data-partner"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-layout": React.DetailedHTMLProps< | |
| { | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive" | |
| | "container"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-lightbox": React.DetailedHTMLProps< | |
| { | |
| "animate-in"?: "fade-in" | "fly-in-bottom" | "fly-in-top"; | |
| controls?: any; | |
| from?: any; | |
| scrollable?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-list": React.DetailedHTMLProps< | |
| { | |
| "auto-resize"?: any; | |
| binding?: "always" | "no" | "refresh"; | |
| credentials?: any; | |
| items?: any; | |
| "max-items"?: any; | |
| "reset-on-refresh"?: "" | "always" | "fetch"; | |
| "single-item"?: any; | |
| src?: any; | |
| template?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-live-list": React.DetailedHTMLProps< | |
| { | |
| "data-max-items-per-page"?: any; | |
| "data-poll-interval"?: any; | |
| disabled?: any; | |
| id?: any; | |
| sort?: any; | |
| layout?: "container" | "fixed-height"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-mathml": React.DetailedHTMLProps< | |
| { | |
| "data-formula"?: any; | |
| inline?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-mowplayer": React.DetailedHTMLProps< | |
| { | |
| autoplay?: any; | |
| "data-mediaid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-next-page": React.DetailedHTMLProps< | |
| { | |
| src?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-nexxtv-player": React.DetailedHTMLProps< | |
| { | |
| "data-client"?: any; | |
| "data-mediaid"?: any; | |
| "data-mode"?: "api" | "static"; | |
| "data-origin"?: any; | |
| "data-streamtype"?: | |
| | "album" | |
| | "audio" | |
| | "live" | |
| | "playlist" | |
| | "playlist-marked" | |
| | "video"; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-o2-player": React.DetailedHTMLProps< | |
| { | |
| "data-bcid"?: any; | |
| "data-pid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-ooyala-player": React.DetailedHTMLProps< | |
| { | |
| "data-embedcode"?: any; | |
| "data-pcode"?: any; | |
| "data-playerid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "fill" | "fixed" | "flex-item" | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-orientation-observer": React.DetailedHTMLProps< | |
| { | |
| "alpha-range"?: any; | |
| "beta-range"?: any; | |
| "gamma-range"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-pan-zoom": React.DetailedHTMLProps< | |
| { | |
| "disable-double-tap"?: any; | |
| "initial-scale"?: any; | |
| "initial-x"?: any; | |
| "initial-y"?: any; | |
| "max-scale"?: any; | |
| "reset-on-resize"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "fill" | "fixed" | "fixed-height" | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-pinterest": React.DetailedHTMLProps< | |
| { | |
| alt?: any; | |
| "data-do"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-pixel": React.DetailedHTMLProps< | |
| { | |
| "allow-ssr-img"?: any; | |
| referrerpolicy?: any; | |
| src?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "fixed" | "nodisplay"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-playbuzz": React.DetailedHTMLProps< | |
| { | |
| "data-comments"?: "false" | "true"; | |
| "data-item"?: any; | |
| "data-item-info"?: "false" | "true"; | |
| "data-share-buttons"?: "false" | "true"; | |
| src?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "responsive" | "fixed-height"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-position-observer": React.DetailedHTMLProps< | |
| { | |
| "intersection-ratios"?: any; | |
| once?: any; | |
| target?: any; | |
| "viewport-margins"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-reach-player": React.DetailedHTMLProps< | |
| { | |
| "data-embed-id"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-reddit": React.DetailedHTMLProps< | |
| { | |
| "data-embedlive"?: "false" | "true"; | |
| "data-embedparent"?: "false" | "true"; | |
| "data-embedtype"?: "comment" | "post"; | |
| "data-src"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-riddle-quiz": React.DetailedHTMLProps< | |
| { | |
| "data-riddle-id"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-selector": React.DetailedHTMLProps< | |
| { | |
| disabled?: any; | |
| form?: any; | |
| "keyboard-select-mode"?: "focus" | "none" | "select"; | |
| multiple?: any; | |
| media?: any; | |
| noloading?: any; | |
| name?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "nodisplay" | |
| | "responsive" | |
| | "container"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-sidebar": React.DetailedHTMLProps< | |
| { | |
| side?: "left" | "right"; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-social-share": React.DetailedHTMLProps< | |
| { | |
| "data-share-endpoint"?: any; | |
| type?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "container" | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-soundcloud": React.DetailedHTMLProps< | |
| { | |
| "data-color"?: any; | |
| "data-playlistid"?: any; | |
| "data-secret-token"?: any; | |
| "data-trackid"?: any; | |
| "data-visual"?: "false" | "true"; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-springboard-player": React.DetailedHTMLProps< | |
| { | |
| "data-content-id"?: any; | |
| "data-domain"?: any; | |
| "data-items"?: any; | |
| "data-mode"?: "playlist" | "video"; | |
| "data-player-id"?: any; | |
| "data-site-id"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "fill" | "fixed" | "flex-item" | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-state": React.DetailedHTMLProps< | |
| { | |
| credentials?: any; | |
| id?: any; | |
| overridable?: any; | |
| src?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-sticky-ad": React.DetailedHTMLProps< | |
| { | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-story": React.DetailedHTMLProps< | |
| { | |
| "background-audio"?: any; | |
| "bookend-config-src"?: any; | |
| "poster-landscape-src"?: any; | |
| "poster-portrait-src"?: any; | |
| "poster-square-src"?: any; | |
| publisher?: any; | |
| "publisher-logo-src"?: any; | |
| standalone?: any; | |
| title?: any; | |
| children?: | |
| | "amp-story-auto-ads" | |
| | "amp-story-page" | |
| | "amp-story-access"; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-story-access": React.DetailedHTMLProps< | |
| { | |
| type?: "blocking" | "notification"; | |
| media?: any; | |
| noloading?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-story-auto-ads": React.DetailedHTMLProps< | |
| { | |
| children?: "script" | "template"; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-story-bookend": React.DetailedHTMLProps< | |
| { | |
| layout?: any; | |
| src?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-story-consent": React.DetailedHTMLProps< | |
| { | |
| id?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-story-cta-layer": React.DetailedHTMLProps< | |
| { | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-story-grid-layer": React.DetailedHTMLProps< | |
| { | |
| template?: "fill" | "horizontal" | "thirds" | "vertical"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-story-page": React.DetailedHTMLProps< | |
| { | |
| "auto-advance-after"?: any; | |
| "background-audio"?: any; | |
| id?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-timeago": React.DetailedHTMLProps< | |
| { | |
| cutoff?: any; | |
| datetime?: any; | |
| locale?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "fixed" | "fixed-height" | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-twitter": React.DetailedHTMLProps< | |
| { | |
| "data-cards"?: any; | |
| "data-conversation"?: any; | |
| "data-limit"?: any; | |
| "data-link-color"?: any; | |
| "data-momentid"?: any; | |
| "data-theme"?: any; | |
| "data-timeline-id"?: any; | |
| "data-timeline-owner-screen-name"?: any; | |
| "data-timeline-slug"?: any; | |
| "data-timeline-source-type"?: any; | |
| "data-timeline-screen-name"?: any; | |
| "data-timeline-url"?: any; | |
| "data-timeline-user-id"?: any; | |
| "data-tweetid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "intrinsic" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-user-notification": React.DetailedHTMLProps< | |
| { | |
| "data-dismiss-href"?: any; | |
| "data-show-if-href"?: any; | |
| enctype?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-video": React.DetailedHTMLProps< | |
| { | |
| poster?: any; | |
| media?: any; | |
| noloading?: any; | |
| album?: any; | |
| alt?: any; | |
| artist?: any; | |
| artwork?: any; | |
| attribution?: any; | |
| autoplay?: any; | |
| controls?: any; | |
| controlslist?: any; | |
| crossorigin?: any; | |
| disableremoteplayback?: any; | |
| dock?: any; | |
| loop?: any; | |
| muted?: any; | |
| noaudio?: any; | |
| placeholder?: any; | |
| preload?: "auto" | "metadata" | "none" | ""; | |
| "rotate-to-fullscreen"?: any; | |
| src?: any; | |
| lightbox?: any; | |
| "lightbox-thumbnail-id"?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: "source" | "track"; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-vimeo": React.DetailedHTMLProps< | |
| { | |
| autoplay?: any; | |
| "data-videoid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-vine": React.DetailedHTMLProps< | |
| { | |
| "data-vineid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-viqeo-player": React.DetailedHTMLProps< | |
| { | |
| autoplay?: any; | |
| "data-profileid"?: any; | |
| "data-videoid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-vk": React.DetailedHTMLProps< | |
| { | |
| "data-embedtype"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: "fixed" | "flex-item" | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-web-push": React.DetailedHTMLProps< | |
| { | |
| "helper-iframe-url"?: any; | |
| id?: any; | |
| "permission-dialog-url"?: any; | |
| "service-worker-url"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-web-push-widget": React.DetailedHTMLProps< | |
| { | |
| visibility?: "blocked" | "subscribed" | "unsubscribed"; | |
| media?: any; | |
| noloading?: any; | |
| layout?: any; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-wistia-player": React.DetailedHTMLProps< | |
| { | |
| "data-media-hashed-id"?: any; | |
| "rotate-to-fullscreen"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-yotpo": React.DetailedHTMLProps< | |
| { | |
| "data-app-key"?: any; | |
| "data-widget-type"?: any; | |
| media?: any; | |
| noloading?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| "amp-youtube": React.DetailedHTMLProps< | |
| { | |
| autoplay?: any; | |
| credentials?: "include" | "omit"; | |
| "data-live-channelid"?: any; | |
| "data-videoid"?: any; | |
| media?: any; | |
| noloading?: any; | |
| lightbox?: any; | |
| "lightbox-thumbnail-id"?: any; | |
| layout?: | |
| | "fill" | |
| | "fixed" | |
| | "fixed-height" | |
| | "flex-item" | |
| | "nodisplay" | |
| | "responsive"; | |
| children?: any; | |
| }, | |
| HTMLElement | |
| >; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment