Files
Athou_commafeed/commafeed-client/src/components/DisablePullToRefresh.tsx

4 lines
180 B
TypeScript

export const DisablePullToRefresh = ({ enabled }: { enabled: boolean | undefined }) => {
return enabled ? <style>{`html, body { overscroll-behavior: none; }`}</style> : null
}