BuilderIO / mitosis

Write components once, run everywhere. Compiles to React, Vue, Qwik, Solid, Angular, Svelte, and more.
https://mitosis.builder.io
MIT License
11.86k stars 516 forks source link

feat(mitosis): code gen support for named slots #1334

Closed mrkoreye closed 5 months ago

mrkoreye commented 5 months ago

Description

This PR adds support for named slots in custom component code gen: https://www.loom.com/share/f3ad5eee72f9486a9130ce1f09ceafa0

Fixes #1301

vercel[bot] commented 5 months ago

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

Name Status Preview Comments Updated (UTC)
mitosis-fiddle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 8:03pm
nx-cloud[bot] commented 5 months ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit f269461c75d4344d0b93ea7da1d367a496a0489f. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 4 targets - [`nx run-many --skip-nx-cache --target build --parallel 4 --exclude */e2e-alpine,*/e2e-angular,@builder.io/mitosis-fiddle,@builder.io/talk-*,@builder.io/example-apps`](https://cloud.nx.app/runs/5LO8yOBuHB?utm_source=pull-request&utm_medium=comment) - [`nx build @builder.io/mitosis-fiddle`](https://cloud.nx.app/runs/MDZzc9ft11?utm_source=pull-request&utm_medium=comment) - [`nx build @builder.io/eslint-plugin-mitosis`](https://cloud.nx.app/runs/lkqcJWHALH?utm_source=pull-request&utm_medium=comment) - [`nx build @builder.io/mitosis`](https://cloud.nx.app/runs/hdYjlp7vB6?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

mrkoreye commented 5 months ago

@samijaber updated tests and readme to reflect new slot behavior