chore: Move to prettier standard double quotes (#1309)
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
// @flow
|
||||
import * as React from 'react';
|
||||
import ImageZoom from 'react-medium-image-zoom';
|
||||
import Frame from './components/Frame';
|
||||
import * as React from "react";
|
||||
import ImageZoom from "react-medium-image-zoom";
|
||||
import Frame from "./components/Frame";
|
||||
|
||||
const IFRAME_REGEX = new RegExp(
|
||||
'^https://(invis.io/.*)|(projects.invisionapp.com/share/.*)$'
|
||||
"^https://(invis.io/.*)|(projects.invisionapp.com/share/.*)$"
|
||||
);
|
||||
|
||||
const IMAGE_REGEX = new RegExp(
|
||||
'^https://(opal.invisionapp.com/static-signed/live-embed/.*)$'
|
||||
"^https://(opal.invisionapp.com/static-signed/live-embed/.*)$"
|
||||
);
|
||||
|
||||
type Props = {|
|
||||
@@ -27,10 +27,10 @@ export default class InVision extends React.Component<Props> {
|
||||
<ImageZoom
|
||||
image={{
|
||||
src: this.props.attrs.href,
|
||||
alt: 'InVision Embed',
|
||||
alt: "InVision Embed",
|
||||
style: {
|
||||
maxWidth: '100%',
|
||||
maxHeight: '75vh',
|
||||
maxWidth: "100%",
|
||||
maxHeight: "75vh",
|
||||
},
|
||||
}}
|
||||
shouldRespectMaxDimension
|
||||
|
||||
Reference in New Issue
Block a user