diff --git a/src/components/assets/GraphCMSAsset.tsx b/src/components/assets/GraphCMSAsset.tsx index ac0694178..6869c5ae1 100644 --- a/src/components/assets/GraphCMSAsset.tsx +++ b/src/components/assets/GraphCMSAsset.tsx @@ -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'; @@ -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;