// @flow import React from 'react'; import { Modal } from 'modal/modal'; import Button from 'component/button'; import Card from 'component/common/card'; import SelectAsset from 'component/selectAsset'; type Props = { closeModal: () => void, currentValue: string, label: string, helptext: string, onUpdate: string => void, }; const ModalImageUpload = (props: Props) => { const { closeModal, currentValue, label, helptext, onUpdate } = props; return ( onUpdate(v)} currentValue={currentValue} assetName={label} recommended={__(helptext)} /> } actions={
} />
); }; export default ModalImageUpload;