solana-foundation / solana-com

The solana.com website.
https://solana.com/
GNU General Public License v3.0
41 stars 13 forks source link

feat: support strings in tabs `items` #37

Closed nickfrosty closed 1 month ago

nickfrosty commented 1 month ago

added support for passing a string value for the items inside the Tabs component

this will allow passing a comma-separated list of the tab labels within dev content files

note: this is to support fixing the render errors with several open issues in the dev-content repo: https://github.com/solana-foundation/developer-content/issues/455 these issues are being caused by crowdin altering the content files in an odd way, specifically when an MDX component has an attribute with an array value, crowdin prepends a \ in front of the components opening tag. breaking the parser....

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
solana-com ✅ Ready (Inspect) Visit Preview Sep 10, 2024 3:59pm