/** * External dependencies */ import { __, _x } from '@wordpress/i18n'; import { Fragment } from '@wordpress/element'; import { Path, Circle } from '@wordpress/components'; /** * Internal dependencies */ import edit from './edit'; import save from './save'; import renderMaterialIcon from '../../../shared/render-material-icon'; const attributes = { address: { type: 'string', default: '', }, addressLine2: { type: 'string', default: '', }, addressLine3: { type: 'string', default: '', }, city: { type: 'string', default: '', }, region: { type: 'string', default: '', }, postal: { type: 'string', default: '', }, country: { type: 'string', default: '', }, linkToGoogleMaps: { type: 'boolean', default: false, }, }; export const name = 'address'; export const settings = { title: __( 'Address', 'jetpack' ), description: __( 'Lets you add a physical address with Schema markup.', 'jetpack' ), keywords: [ _x( 'location', 'block search term', 'jetpack' ), _x( 'direction', 'block search term', 'jetpack' ), _x( 'place', 'block search term', 'jetpack' ), ], icon: renderMaterialIcon( ), category: 'jetpack', attributes, parent: [ 'jetpack/contact-info' ], edit, save, };