UNPKG

@shopify/react-network

Version:

A collection of components that allow you to set common HTTP headers from within your React application

12 lines (9 loc) 273 B
import { CspDirective } from '@shopify/network'; import { useCspDirective } from '../hooks.mjs'; function BlockAllMixedContent({ value = true }) { useCspDirective(CspDirective.BlockAllMixedContent, value); return null; } export { BlockAllMixedContent as default };