// @flow import * as React from "react"; import Image from "components/Image"; import Frame from "./components/Frame"; const URL_REGEX = new RegExp("^https?://docs.google.com/presentation/d/(.*)$"); type Props = {| attrs: {| href: string, matches: string[], |}, |}; export default class GoogleSlides extends React.Component { static ENABLED = [URL_REGEX]; render() { return ( } canonicalUrl={this.props.attrs.href} title="Google Slides" border /> ); } }