Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
view-container / src / constants.tsx
Size: Mime:
// @flow

declare var __DEV__string

export const SC_ATTR =
  (typeof process !== 'undefined' && process.env.SC_ATTR) ||
  'data-styled-components'
export const SC_STREAM_ATTR = 'data-styled-streamed'
export const CONTEXT_KEY = '__styled-components-stylesheet__'

export const IS_BROWSER =
  typeof window !== 'undefined' && 'HTMLElement' in window

export const DISABLE_SPEEDY =
  (typeof __DEV__ === 'boolean' && __DEV__) ||
  process.env.NODE_ENV !== 'production'