/** * External dependencies */ import { Icon } from '@wordpress/icons'; import { ReactElement } from 'react'; /** * Internal dependencies */ import './icon-with-text.scss'; export interface IconWithTextProps { icon: JSX.Element; title: ReactElement; description: string; } export default function IconWithText( props: IconWithTextProps ): JSX.Element { const { icon, title, description } = props; return (

{ title }

{ description }

); }