import * as React from 'react'; import RcImage, { ImageProps } from 'rc-image'; import { ConfigConsumerProps, ConfigContext } from '../config-provider'; const Image: React.FC = ({ prefixCls: customizePrefixCls, ...otherProps }) => { const { getPrefixCls }: ConfigConsumerProps = React.useContext(ConfigContext); const prefixCls = getPrefixCls('image', customizePrefixCls); return ; }; export default Image;