Nice Paintings, Mondrian

    @kaliber/use-is-ie11

    1.0.6 • Public • Published

    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 ? '😞' : '😎'
    }

    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.

    Install

    npm i @kaliber/use-is-ie11

    DownloadsWeekly Downloads

    13

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    2.66 kB

    Total Files

    6

    Last publish

    Collaborators

    • jerryduijm
    • hjsielcken
    • rmostertkaliber
    • kaliber-owner
    • daveykropf
    • eecolor
    • pkuepers
    • larsvankleef