Created
June 11, 2024 22:25
-
-
Save rileybathurst/077d5450cc23eed592f496bac47d55f4 to your computer and use it in GitHub Desktop.
astro with strapi blocks render
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="pre-wrap"> | |
<BlocksRenderer content={contact.attributes.postal} /> | |
</div> | |
<style> | |
.pre-wrap { | |
white-space: pre-wrap; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment