import React from 'react' import { __, sprintf } from '@wordpress/i18n' import { Badge } from '../../common/Badge' import { BLUEPRINT_TITLE } from './demoBlueprint' /** * Stands in for the code preview the real blueprint produces. The walkthrough * generates nothing, so this only confirms what Pro would have built. */ export const GeneratedNotice = React.forwardRef((_props, ref) =>

{sprintf( /* translators: %s: name of the blueprint, e.g. "Create a Shortcode". */ __('Snippet ā€œ%sā€ has been generated.', 'code-snippets'), BLUEPRINT_TITLE )}

) GeneratedNotice.displayName = 'GeneratedNotice'