react-downscreen
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -132,4 +132,2 @@ 'use strict'; | ||
const Downscreen = ({ | ||
className, | ||
style, | ||
children, | ||
@@ -139,3 +137,5 @@ onSelect = () => {}, | ||
totalCount, | ||
id | ||
id, | ||
className, | ||
style | ||
}) => { | ||
@@ -142,0 +142,0 @@ const menuItemsRef = React.useRef({}); |
@@ -9,4 +9,2 @@ import * as React from 'react'; | ||
const Downscreen = ({ | ||
className, | ||
style, | ||
children, | ||
@@ -16,3 +14,5 @@ onSelect = () => {}, | ||
totalCount, | ||
id | ||
id, | ||
className, | ||
style | ||
}) => { | ||
@@ -19,0 +19,0 @@ const menuItemsRef = React.useRef({}); |
@@ -12,3 +12,3 @@ import * as React from 'react'; | ||
} | ||
declare const Downscreen: ({ className, style, children, onSelect, initial, totalCount, id, }: Props) => JSX.Element; | ||
declare const Downscreen: ({ children, onSelect, initial, totalCount, id, className, style, }: Props) => JSX.Element; | ||
export default Downscreen; |
/// <reference types="react" /> | ||
declare const normalizeArrowKey: (event: import("react").KeyboardEvent<HTMLDivElement>) => string; | ||
declare const normalizeArrowKey: (event: import("react").KeyboardEvent<any>) => string; | ||
export default normalizeArrowKey; |
@@ -128,4 +128,2 @@ import * as React from 'react'; | ||
let { | ||
className, | ||
style, | ||
children, | ||
@@ -135,3 +133,5 @@ onSelect = () => {}, | ||
totalCount, | ||
id | ||
id, | ||
className, | ||
style | ||
} = _ref; | ||
@@ -138,0 +138,0 @@ const menuItemsRef = useRef({}); |
{ | ||
"name": "react-downscreen", | ||
"description": "React Downscreen ⛹️", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "files": [ |
58895