react-easyfullscreen
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -13,6 +13,6 @@ import * as React from 'react'; | ||
children: (props: IReactFullScreenChildrenProps) => React.ReactNode; | ||
onChange?: React.FC; | ||
onError?: React.FC; | ||
onChange?: () => void; | ||
onError?: () => void; | ||
} | ||
export default class ReactFullScreenComponent extends React.Component<ReactFullScreenComponentProps> {} |
@@ -28,3 +28,3 @@ "use strict"; | ||
_screenfull["default"].on('error', function (event) { | ||
_screenfull["default"].on('error', function () { | ||
if (onError) { | ||
@@ -31,0 +31,0 @@ onError(); |
{ | ||
"name": "react-easyfullscreen", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Component that performs fullscreen in DOM Elements", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# React FullScreen | ||
[![npm version](https://badge.fury.io/js/react-easyfullscreen.svg)](https://www.npmjs.com/package/react-easyfullscreen) • [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/andrelmlins/react-fullscreen/blob/master/LICENSE) • [![Build Status](https://travis-ci.com/andrelmlins/react-fullscreen.svg?branch=master)](https://travis-ci.com/andrelmlins/react-fullscreen) • [![Netlify Status](https://api.netlify.com/api/v1/badges/79ceb0f2-f703-4092-92aa-64d441c2e9c7/deploy-status)](https://app.netlify.com/sites/react-fullscreen/deploys) • [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/andrelmlins/react-fullscreen.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/andrelmlins/react-fullscreen/context:javascript) | ||
[![npm version](https://badge.fury.io/js/react-easyfullscreen.svg)](https://www.npmjs.com/package/react-easyfullscreen) • [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/andrelmlins/react-fullscreen/blob/master/LICENSE) • [![Node.js CI](https://github.com/andrelmlins/react-fullscreen/actions/workflows/nodejs.yml/badge.svg)](https://github.com/andrelmlins/react-fullscreen/actions/workflows/nodejs.yml) • [![Netlify Status](https://api.netlify.com/api/v1/badges/79ceb0f2-f703-4092-92aa-64d441c2e9c7/deploy-status)](https://app.netlify.com/sites/react-fullscreen/deploys) • [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/andrelmlins/react-fullscreen.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/andrelmlins/react-fullscreen/context:javascript) | ||
@@ -30,3 +30,3 @@ Component that performs fullscreen in DOM Elements | ||
import { render } from 'react-dom'; | ||
import ReactFullscreeen from 'react-easyfullscreen'; | ||
import ReactFullscreen from 'react-easyfullscreen'; | ||
@@ -69,2 +69,8 @@ const App = () => ( | ||
## Browsers Support | ||
You can see the list of supported browsers [here](https://caniuse.com/fullscreen) | ||
![Browsers support](assets/browser-support.png) | ||
## NPM Statistics | ||
@@ -71,0 +77,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7713
83