@shopify/klint 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -134,7 +134,7 @@ import { useKlint, Klint } from "@shopify/klint";
134
134
 
135
135
  export default function App() {
136
136
  const { context, KlintMouse } = useKlint();
137
- const mouse = KlintMouse();
137
+ const { mouse } = KlintMouse();
138
138
 
139
139
  const setup = (K: any) => {
140
140
  K.textFont("Inter, sans-serif");
@@ -165,8 +165,8 @@ export default function App() {
165
165
  // Corner info
166
166
  K.textSize(16);
167
167
  K.alignText("left", "top");
168
- K.text(\`Frame: \${K.frame}\`, 20, 20);
169
- K.text(\`Mouse: \${Math.round(mouseX)}, \${Math.round(mouseY)}\`, 20, 40);
168
+ K.text(`Frame: ${K.frame}`, 20, 20);
169
+ K.text(`Mouse: ${Math.round(mouseX)}, ${Math.round(mouseY)}`, 20, 40);
170
170
  };
171
171
 
172
172
  return (