1.0.6 • Published 5 years ago

@kaliber/use-is-ie11 v1.0.6

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

useIsIe11

Detects if a browser is IE11.

Motivation

In case you need to detect whether a browser is Internet Explorer 11. Doesn't use UA sniffing, but feature detection.

Installation

yarn add @kaliber/use-is-ie11

Usage

import { useIsIe11 } from 'use-is-ie11'

function Component() {
  const isIe11 = useIsIe11()
  return isIe11 ? '😞' : '😎'
}

npm.io

Disclaimer

This library is intended for internal use, we provide no support, use at your own risk. It does not import React, but expects it to be provided, which @kaliber/build can handle for you.

This library is not transpiled.

1.0.6

5 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.2

6 years ago