Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import { FeaturedImage, PLACEMENT_MEDIA_SOURCE_DROPDOWN } from '@automattic/jetpack-ai-client';
/**
* JetpackAIFeaturedImage component
* @param {object} props - The component properties.
* @param {Function} props.onClose - To handle the close.
* @return {import('react').ReactElement} The `JetpackAIFeaturedImage` component.
*/
function JetpackAIFeaturedImage( { onClose = () => {} } ) {
return <FeaturedImage placement={ PLACEMENT_MEDIA_SOURCE_DROPDOWN } onClose={ onClose } />;
}
export default JetpackAIFeaturedImage;
|