diff options
author | 2023-05-18 09:31:59 -0700 | |
---|---|---|
committer | 2023-05-18 12:31:59 -0400 | |
commit | 31cbf4357e866abab62bb4ccf949f5a59aec06ac (patch) | |
tree | fdf22a00c332e3082b3d369c3eda497892351f0d /.changeset/two-carrots-smile.md | |
parent | dad105a91e2d9b59cfd6aba7703207ba08841c10 (diff) | |
download | astro@2.5.0.tar.gz astro@2.5.0.tar.zst astro@2.5.0.zip |
[ci] release (#7090)astro@2.5.0@astrojs/vue@2.2.0@astrojs/vercel@3.4.0@astrojs/turbolinks@0.2.2@astrojs/tailwind@3.1.3@astrojs/svelte@2.2.0@astrojs/solid-js@2.2.0@astrojs/rss@2.4.2@astrojs/react@2.2.0@astrojs/prism@2.1.2@astrojs/prefetch@0.2.2@astrojs/preact@2.2.0@astrojs/partytown@1.2.2@astrojs/node@5.1.4@astrojs/netlify@2.2.3@astrojs/mdx@0.19.2@astrojs/markdown-remark@2.2.1@astrojs/markdown-component@1.0.4@astrojs/markdoc@0.2.0@astrojs/lit@2.0.2@astrojs/image@0.16.9@astrojs/deno@4.1.1@astrojs/cloudflare@6.3.0@astrojs/alpinejs@0.2.2
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to '.changeset/two-carrots-smile.md')
-rw-r--r-- | .changeset/two-carrots-smile.md | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/.changeset/two-carrots-smile.md b/.changeset/two-carrots-smile.md deleted file mode 100644 index d5b046b0b..000000000 --- a/.changeset/two-carrots-smile.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'astro': minor ---- - -Added `Polymorphic` type helper to `astro/types` to easily create polymorphic components: - -```astro ---- -import { HTMLTag, Polymorphic } from 'astro/types'; - -type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }>; - -const { as: Tag, ...props } = Astro.props; ---- - -<Tag {...props} /> -``` |