import React from 'react'; import './index.scss'; const maxDesktopSize = 1250; const fontSize = { desktop: { h2: window.innerWidth > maxDesktopSize ? 12 : window.innerWidth / 120, }, }; export default function PowerPoint(props){ return( <> { window.innerWidth > 1000 ?

{props.data.title}

: null } { window.innerWidth < 1000 ?

{props.data.title}

: null } ); }