Skip to content

Commit

Permalink
Image: Fix types and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski committed May 27, 2021
1 parent f0ade07 commit b50eb77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/html2react/processors/image.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import { styled } from "frontity";
import Image, { Props as ImageProps } from "@frontity/components/image";
import Image, { ImageProps } from "@frontity/components/image";
import { Processor, Element } from "../types";

/**
Expand Down
8 changes: 4 additions & 4 deletions packages/types/frontity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ interface Frontity extends Package {
options?: Record<string, string>;

/**
* The mode of this site.
* Used to distinguish between`"html"` (default) or `"amp"` modes. `"amp"`
* is referring to Google AMP: https://amp.dev.
*
* @deprecated This parameter is deprecated. It could be used to choose to
* render Frontity to `html` or `amp`.
* @defaultValue `"html"`
*/
mode?: string;
mode?: "html" | "amp";

/**
* Debug mode.
Expand Down

0 comments on commit b50eb77

Please sign in to comment.