Skip to content

Commit

Permalink
Use CSSStyles instead of object
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest committed Sep 8, 2020
1 parent 1018d6f commit c5f1b45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/assets/GraphCMSAsset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import stylePropType from 'react-style-proptype';

import GraphCMSAssetPropTypes from '../../propTypes/GraphCMSAssetPropTypes';
import GraphCMSAssetTransformationsPropTypes from '../../propTypes/GraphCMSAssetTransformationsPropTypes';
import { CSSStyles } from '../../types/CSSStyles';
import { Asset } from '../../types/data/Asset';
import { AssetTransformations } from '../../types/data/AssetTransformations';
import { Link } from '../../types/data/Link';
Expand Down Expand Up @@ -176,13 +177,13 @@ type Props = {
defaults?: Asset;
override?: Asset;
className?: string;
style?: object;
style?: CSSStyles;
onClick?: () => void;
linkOverride?: {
id?: string;
url?: string;
target?: string;
style?: object;
style?: CSSStyles;
classes?: string;
};
forcePNGOutput?: boolean;
Expand Down

1 comment on commit c5f1b45

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.