/** * WordPress dependencies. */ const { blockEditor: { InspectorControls, }, components: { Disabled, PanelBody, TextControl, ToggleControl, }, element: { Fragment, createElement, }, i18n: { __, }, serverSideRender: ServerSideRender, } = wp; const editLoginForm = ( { attributes, setAttributes } ) => { const { title,forgotPwdLink } = attributes; return ( { setAttributes( { title: text } ); } } /> { setAttributes( { forgotPwdLink: ! forgotPwdLink } ); } } /> ); }; export default editLoginForm;