import React, { useRef } from 'react' import { useDispatch, useSelector } from 'react-redux' import LabelSVG from '@epicformbuilder/admin/images/settings/label.svg?react' import PlaceholderSVG from '@epicformbuilder/admin/images/settings/placeholder.svg?react' import { updateActionProperty, getTypeTagsSelector, validateEmail } from '@epicformbuilder/admin/data' import { SettingsTab, HelpCenter, Label, } from '@epicformbuilder/admin/editor/components'; import QuillEditor from '../QuillEditor' export default function Notification ({ id, label, to, subject, body, }) { const tabs = { general: true, help: false } const dispatch = useDispatch() const quillRef = useRef() const tags = [ ...useSelector( getTypeTagsSelector ), 'submission' ] const onChange = ( property ) => event => dispatch( updateActionProperty( id, property, event.target.value ) ) return (
{/**/} {/* */} {/**/}
) }