| 1 |
/** |
| 2 |
* WordPress dependencies |
| 3 |
*/ |
| 4 |
import { __ } from '@wordpress/i18n'; |
| 5 |
|
| 6 |
/** |
| 7 |
* Internal dependencies |
| 8 |
*/ |
| 9 |
// Same file backs the sidebar header's CSS mask, so the mark has one source. |
| 10 |
import { ReactComponent as BeyondwordsIcon } from './beyondwords.svg'; |
| 11 |
|
| 12 |
export { BeyondwordsIcon }; |
| 13 |
|
| 14 |
/** |
| 15 |
* The brand mark followed by the "BeyondWords" label, for a consistent panel title. |
| 16 |
* |
| 17 |
* @return {Element} The title element. |
| 18 |
*/ |
| 19 |
export function BeyondwordsTitle() { |
| 20 |
return ( |
| 21 |
<span |
| 22 |
style={ { |
| 23 |
display: 'inline-flex', |
| 24 |
alignItems: 'center', |
| 25 |
gap: '8px', |
| 26 |
} } |
| 27 |
> |
| 28 |
<BeyondwordsIcon /> |
| 29 |
{ __( 'BeyondWords', 'speechkit' ) } |
| 30 |
</span> |
| 31 |
); |
| 32 |
} |
| 33 |
|
| 34 |
export default BeyondwordsIcon; |
| 35 |
|