blob: 5fd0ccacb3ee6e87f2cd2ed18524b4e7ce896ea4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/**
* Internal dependencies
*/
import save from './save';
import simpleInput from '../../../shared/simple-input';
import { __ } from '@wordpress/i18n';
const EmailEdit = props => {
const { setAttributes } = props;
return simpleInput( 'email', props, __( 'Email', 'jetpack' ), save, nextValue =>
setAttributes( { email: nextValue } )
);
};
export default EmailEdit;
|