/** * External dependencies */ import clsx from 'clsx'; import { RichText, InnerBlocks } from '@wordpress/block-editor'; import { __ } from '@wordpress/i18n'; interface CallToActionProps { itemId: number | 'preview'; linkText: string; permalink: string; } export const CallToAction = ( { itemId, linkText, permalink, }: CallToActionProps ) => { const buttonClasses = clsx( 'wp-block-button__link', 'is-style-fill' ); const buttonStyle = { backgroundColor: 'vivid-green-cyan', borderRadius: '5px', }; const wrapperStyle = { width: '100%', }; return itemId === 'preview' ? (
) : ( ); };