mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
4 lines
180 B
TypeScript
4 lines
180 B
TypeScript
export const DisablePullToRefresh = ({ enabled }: { enabled: boolean | undefined }) => {
|
|
return enabled ? <style>{`html, body { overscroll-behavior: none; }`}</style> : null
|
|
}
|