aboutsummaryrefslogtreecommitdiff
path: root/examples/framework-vue/src
diff options
context:
space:
mode:
authorGravatar StandardGage <50509562+StandardGage@users.noreply.github.com> 2024-03-08 08:02:53 -0500
committerGravatar GitHub <noreply@github.com> 2024-03-08 13:02:53 +0000
commitc081adf998d30419fed97d8fccc11340cdc512e0 (patch)
treebe30adedbff5e617c076a78023e067d47fb6640f /examples/framework-vue/src
parent01497f2bc2833a62a163b0569d25a53424335a25 (diff)
downloadastro-c081adf998d30419fed97d8fccc11340cdc512e0.tar.gz
astro-c081adf998d30419fed97d8fccc11340cdc512e0.tar.zst
astro-c081adf998d30419fed97d8fccc11340cdc512e0.zip
Allow Code Component to have custom props and extra class styles (#9960)
* Create simple react element if element has no children * Fix for when element has text * add changeset * Add additionalProps to Code component and ShikiHighlighter.highlight() * Add changeset * Create simple react element if element has no children * Fix for when element has text * add changeset * Add additionalProps to Code component and ShikiHighlighter.highlight() * Add changeset * reverted accidental changes * remove unnecessary parts * Add HTMLAttributes type to additionalProps * Update .changeset/calm-bags-deliver.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> * extend HTMLAtts instead * add suggestions * feat: address reviews * chore: remove empty line * feat: move attributes to options --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Diffstat (limited to 'examples/framework-vue/src')
0 files changed, 0 insertions, 0 deletions