import { __ } from '@wordpress/i18n'; import { Button, Placeholder } from '@wordpress/components'; import { VendyLogoSVG } from './vendyIcon'; import { BlockIcon } from '@wordpress/block-editor'; export interface EmbedPlaceholderProps { label: string; value: string; lock: boolean; onChange: (e: React.FormEvent) => void; onClick: () => void; } const EmbedPlaceholder = (props: EmbedPlaceholderProps): JSX.Element => { const { label, value, lock, onChange, onClick } = props; return ( } label={label} instructions={__('Paste the layout ID from Vendy to embed here. You can preview your layout using the toolbar.', 'alibitech-vendy')} >
); }; export default EmbedPlaceholder;