Skip to content

Commit

Permalink
demo apps changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HorusGoul committed Nov 6, 2024
1 parent 7e8d4a3 commit db9f52c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Vue doesn't require any extra setup steps, but here's an example of how you can
</script>

<template>
<div :class="stylex(styles.root)">
<div v-bind="stylex.attrs(styles.root)">
<slot />
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion apps/qwik-demo/src/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Slot, component$ } from "@builder.io/qwik";

const Card = component$(() => {
return (
<div class={stylex(styles.root)} data-testid="card">
<div {...stylex.attrs(styles.root)} data-testid="card">
<Slot />
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion apps/sveltekit-demo/src/Card.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
});
</script>

<div class={stylex(styles.root)} data-testid="card">
<div {...stylex.attrs(styles.root)} data-testid="card">
<slot />
</div>
2 changes: 1 addition & 1 deletion apps/vue-demo/src/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const styles = stylex.create({
</script>

<template>
<div :class="stylex(styles.root)" data-testid="card">
<div v-bind="stylex.attrs(styles.root)" data-testid="card">
<slot />
</div>
</template>
Expand Down

0 comments on commit db9f52c

Please sign in to comment.