Wondering what’s next for npm?Check out our public roadmap! »

    @posthog/react-rrweb-player
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.1 • Public • Published

    @posthog/react-rrweb-player

    React-based player for rrweb

    NPM JavaScript Style Guide

    Install

    npm install --save @posthog/react-rrweb-player

    Usage

    import React, { Component } from 'react'
    
    import MyComponent from '@posthog/react-rrweb-player'
    import '@posthog/react-rrweb-player/dist/index.css'
    
    class Example extends Component {
        render() {
            return <MyComponent />
        }
    }

    Developing locally

    To develop locally, you can run the following commands and an example app will be launched on port 3000.

    yarn # only the first time to install dependencies
    yarn start # to run the base component
    cd example
    yarn start # to run the example project

    Questions?

    Join our Slack community.

    Keywords

    none

    Install

    npm i @posthog/react-rrweb-player

    DownloadsWeekly Downloads

    1,402

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    154 kB

    Total Files

    17

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar