forked from Archives/Athou_commafeed
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
|
|
}
|