diff --git a/lib/components/style-sheet.tsx b/lib/components/style-sheet.tsx index 86d89424..e8011fba 100644 --- a/lib/components/style-sheet.tsx +++ b/lib/components/style-sheet.tsx @@ -1,14 +1,17 @@ import React, {forwardRef} from 'react'; import type {StyleSheetProps} from '../../typings/hyper'; +import { useDevicePixelRatio } from 'use-device-pixel-ratio'; const StyleSheet = forwardRef((props, ref) => { const {borderColor} = props; + const dpr = useDevicePixelRatio(); + return (