Skip to content

Commit

Permalink
minor code tweaks (#1466)
Browse files Browse the repository at this point in the history
  • Loading branch information
steve8708 authored May 29, 2024
1 parent cadd0e5 commit 9148331
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions packages/docs/src/components/code-rotator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ const vueOutput = `
<template>
<div>
<input class="input" :value="name" @change="name = $event.target.value" />
Hello! I can run natively in React, Vue, Svelte, Qwik, and many more
frameworks!
Hello! I can run natively in React, Vue, Svelte, Qwik, and many more frameworks!
</div>
</template>
Expand Down Expand Up @@ -84,8 +83,7 @@ import { Component } from "@angular/core";
(input)="name = $event.target.value"
/>
Hello! I can run natively in React, Vue, Svelte, Qwik, and many more
frameworks!
Hello! I can run natively in React, Vue, Svelte, Qwik, and many more frameworks!
</div>
\`,
styles: [
Expand All @@ -102,11 +100,7 @@ export default class MyComponent {
`.trim();

const qwikOutput = `
import {
component$,
useStore,
useStylesScoped$,
} from "@builder.io/qwik";
import { component$, useStore, useStylesScoped$ } from "@builder.io/qwik";
export const MyComponent = component$((props) => {
useStylesScoped$(\`
Expand All @@ -123,8 +117,7 @@ export const MyComponent = component$((props) => {
value={state.name}
onChange$={(event) => (state.name = event.target.value)}
/>
Hello! I can run natively in React, Vue, Svelte, Qwik, and many more
frameworks!
Hello! I can run natively in React, Vue, Svelte, Qwik, and many more frameworks!
</div>
);
});
Expand Down

0 comments on commit 9148331

Please sign in to comment.