import React from 'react' import { types, Text } from 'react-bricks/rsc' import blockNames from '../../blockNames' export interface OfficeProps { city: types.TextValue address: types.TextValue } const Office: types.Brick = ({ city, address }) => { return (
(

{props.children}

)} /> (
{props.children}
)} />
) } Office.schema = { name: blockNames.Office, label: 'Office', category: 'contact', hideFromAddMenu: true, playgroundLinkLabel: 'View source code on Github', playgroundLinkUrl: 'https://github.com/ReactBricks/reactbricks-starters/blob/main/packages/reactbricks-ui/nextjs-app/src/contacts/Offices/Office.tsx', getDefaultProps: () => ({ city: 'San Francisco', address: '3319 Harrison Street\nSan Francisco, CA', }), sideEditProps: [], } export default Office