Sample page and graph wrappers #32

Merged
snedadah merged 18 commits from shahanneda/wrapper into main 2022-09-02 17:39:47 -04:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d3ceb38fe6 - Show all commits

View File

@ -44,7 +44,7 @@ export default function SamplePage() {
text: word.key,
value: word.value,
}))}
// For components that we don't want to match the width necessarily we can provide direact values
// For components that we don't want to match the width necessarily we can provide direct values
width={isMobile ? 500 : 1000}
height={500}
/>

View File

@ -1,4 +1,4 @@
// https://stackoverflow.com/questions/36862334/get-viewport-window-height-in-reactjs
// Attribution: https://stackoverflow.com/questions/36862334/get-viewport-window-height-in-reactjs
snedadah marked this conversation as resolved
Review

I'm pretty sure we referenced the same thing when working on the website, but we definitely didn't cite our sources like this 😂

I'm pretty sure we referenced the same thing when working on the website, but we definitely didn't cite our sources like this 😂
import { useState, useEffect } from "react";
type WindowDimensions = {