Prepare new LearnMore component

This commit is contained in:
Philipp Stracker 2025-01-28 14:55:50 +01:00
parent 5b212879d5
commit f64a9485a2
No known key found for this signature in database

View file

@ -0,0 +1,13 @@
const LearnMore = ( { url } ) => {
if ( ! url || '#' === url ) {
console.warn( 'Missing Learn More URL: ', url );
}
return (
<a href={ url } target="_blank" rel="noreferrer">
Learn more
</a>
);
};
export default LearnMore;