Create Version
This commit is contained in:
@@ -23,7 +23,8 @@ export default function FormHandler({
|
||||
listItems,
|
||||
handleFormSubmit,
|
||||
countdownRef,
|
||||
setSelectValue
|
||||
setSelectValue,
|
||||
contenu
|
||||
}) {
|
||||
const handleClose = () => {
|
||||
setIsOpen(false)
|
||||
@@ -55,6 +56,7 @@ export default function FormHandler({
|
||||
autoFocus
|
||||
required
|
||||
fullWidth
|
||||
value={contenu}
|
||||
multiline={Boolean(hasMultiline)}
|
||||
mt={2}
|
||||
rows={4}
|
||||
@@ -85,5 +87,6 @@ FormHandler.propTypes = {
|
||||
title: PropTypes.string.isRequired,
|
||||
label: PropTypes.string.isRequired,
|
||||
hasMultiline: PropTypes.bool,
|
||||
listItems: PropTypes.array.isRequired
|
||||
listItems: PropTypes.array.isRequired,
|
||||
contenu: PropTypes.string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user