import React, { useRef } from 'react'; import {Modal, Button, Row, Col} from 'react-materialize'; const InputModal = (props) => { const { title, body, confirmAction, stopAction, triggerNode, defaultInputValue, inputLabel } = props; const inputField = useRef(null); return( ]} bottomSheet fixedFooter={false} header={title} id="Modal-1" open={false} options={{ dismissible: true, endingTop: '10%', inDuration: 250, onCloseEnd: null, onCloseStart: null, onOpenEnd: null, onOpenStart: null, opacity: 0.5, outDuration: 250, preventScrolling: true, startingTop: '4%' }} trigger={triggerNode} >

{body}


) } export default InputModal;