diff options
author | 2024-03-08 08:02:53 -0500 | |
---|---|---|
committer | 2024-03-08 13:02:53 +0000 | |
commit | c081adf998d30419fed97d8fccc11340cdc512e0 (patch) | |
tree | be30adedbff5e617c076a78023e067d47fb6640f /examples/framework-vue/src | |
parent | 01497f2bc2833a62a163b0569d25a53424335a25 (diff) | |
download | astro-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